IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class CopyToRootSchedule is used to communicate distributed patch data to a unified patch data object on a root MPI process. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/CopyToRootSchedule.h>
Public Member Functions | |
CopyToRootSchedule (int root_proc, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level, int src_patch_data_idx) | |
Constructor. | |
CopyToRootSchedule (int root_proc, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level, std::vector< int > src_patch_data_idxs) | |
Constructor. | |
~CopyToRootSchedule ()=default | |
Destructor. | |
void | communicate () |
Communicate data. | |
const std::vector< SAMRAI::tbox::Pointer< SAMRAI::hier::PatchData< NDIM > > > & | getRootPatchData () const |
Get unified patch data. More... | |
Class CopyToRootSchedule is used to communicate distributed patch data to a unified patch data object on a root MPI process.
const std::vector< Pointer< PatchData< NDIM > > > & IBTK::CopyToRootSchedule::getRootPatchData | ( | ) | const |
Get unified patch data.