|
pyAMReX
|
#include "pyAMReX.H"#include "Base/Vector.H"#include <AMReX_BoxArray.H>#include <AMReX_DistributionMapping.H>#include <AMReX_Vector.H>#include <sstream>Functions | |
| void | init_DistributionMapping (py::module &m) |
| void init_DistributionMapping | ( | py::module & | m | ) |
Length of the underlying processor map.
Number of references to this DistributionMapping
Returns a constant reference to the mapping of boxes in the underlying BoxArray to the CPU that holds the FAB on that Box. ProcessorMap()[i] is an integer in the interval [0, NCPU) where NCPU is the number of CPUs being used.
Equivalent to ProcessorMap()[index].