IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class CopyToRootTransaction is a concrete implementation of the abstract base class SAMRAI::tbox::Transaction. It 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/CopyToRootTransaction.h>
Public Member Functions | |
CopyToRootTransaction (int src_proc, int dst_proc, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level, int src_patch_data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchData< NDIM > > dst_patch_data) | |
Constructor. | |
~CopyToRootTransaction ()=default | |
Destructor. | |
SAMRAI::tbox::Pointer< SAMRAI::hier::PatchData< NDIM > > | getRootPatchData () const |
bool | canEstimateIncomingMessageSize () override |
int | computeIncomingMessageSize () override |
int | computeOutgoingMessageSize () override |
int | getSourceProcessor () override |
int | getDestinationProcessor () override |
void | packStream (SAMRAI::tbox::AbstractStream &stream) override |
void | unpackStream (SAMRAI::tbox::AbstractStream &stream) override |
void | copyLocalData () override |
void | printClassData (std::ostream &stream) const override |
Class CopyToRootTransaction is a concrete implementation of the abstract base class SAMRAI::tbox::Transaction. It is used to communicate distributed patch data to a unified patch data object on a root MPI process.
|
overridevirtual |
Return a boolean indicating whether this transaction can estimate the size of an incoming message.
Implements SAMRAI::tbox::Transaction.
|
overridevirtual |
Return the amount of buffer space needed for the incoming message. This routine is only called if the transaction can estimate the size of the incoming message.
Implements SAMRAI::tbox::Transaction.
|
overridevirtual |
Return the buffer space needed for the outgoing message.
Implements SAMRAI::tbox::Transaction.
|
overridevirtual |
Perform the local data copy for the transaction.
Implements SAMRAI::tbox::Transaction.
|
overridevirtual |
Return the receiving processor for the communications transaction.
Implements SAMRAI::tbox::Transaction.
Return a pointer to the data on the root process.
|
overridevirtual |
Return the sending processor for the communications transaction.
Implements SAMRAI::tbox::Transaction.
|
overridevirtual |
Pack the transaction data into the message stream.
Implements SAMRAI::tbox::Transaction.
|
overridevirtual |
Print out transaction information.
Implements SAMRAI::tbox::Transaction.
|
overridevirtual |
Unpack the transaction data from the message stream.
Implements SAMRAI::tbox::Transaction.