Skip to content
Discussion options

You must be logged in to vote

You can use the ParticleReduce function.

Here is a link to doxygen documentation (https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#a3762aae68593d892d48ede3cb6e317a7). The example code there is not formatted correctly for doxygen. We need to fix it. For now you might want to look at comments in the source code.

* Example usage:

Note that you still need to do MPI reduction yourself. (See the documentation for detail.)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Afraid31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants