Class that can accumulate data summed into ghost regions on a patch hierarchy into their correct locations.
#include <ibtk/SAMRAIGhostDataAccumulator.h>
◆ SAMRAIGhostDataAccumulator()
◆ ~SAMRAIGhostDataAccumulator()
| IBTK::SAMRAIGhostDataAccumulator::~SAMRAIGhostDataAccumulator |
( |
| ) |
|
◆ accumulateGhostData()
| void IBTK::SAMRAIGhostDataAccumulator::accumulateGhostData |
( |
const int |
idx | ) |
|
Accumulate data by summing values in ghost positions into the entry on the owning processor associated with the same degree of freedom.
◆ d_hierarchy
Pointer to the patch hierarchy under consideration.
◆ d_var
Pointer to the variable whose data layout we copied.
◆ d_gcw
◆ d_coarsest_ln
Coarsest level of the patch hierarchy on which we work.
◆ d_finest_ln
Finest level of the patch hierarchy on which we work.
◆ d_cc_data
| bool IBTK::SAMRAIGhostDataAccumulator::d_cc_data = true |
|
protected |
Boolean indicating whether or not we have cell-centered data.
◆ d_global_dof_idx
Index into d_hierarchy that contains the dof numbering.
◆ d_local_dof_idx
Index into d_hierarchy that contains the local (i.e., the indices directly into the buffer owned by each Vec in d_vecs) dof numbering.
◆ d_vecs
| std::vector<Vec> IBTK::SAMRAIGhostDataAccumulator::d_vecs |
|
protected |
PETSc Vec objects storing the global ordering on each level.
The documentation for this class was generated from the following file: