WarpX
|
Functions | |
bool | doCosts (const amrex::LayoutData< amrex::Real > *cost, const amrex::BoxArray &ba, const amrex::DistributionMapping &dm) |
We only want to update the cost data if the grids we are working on are the main grids, i.e. not the PML grids. This function returns whether this is the case or not. More... | |
bool WarpXUtilLoadBalance::doCosts | ( | const amrex::LayoutData< amrex::Real > * | cost, |
const amrex::BoxArray & | ba, | ||
const amrex::DistributionMapping & | dm | ||
) |
We only want to update the cost data if the grids we are working on are the main grids, i.e. not the PML grids. This function returns whether this is the case or not.
[in] | cost | pointer to the cost data |
[in] | ba | the grids to check |
[in] | dm | the dmap to check |