#include <source/toolbox/parallel/Transaction.h>
Inheritance diagram for SAMRAI::tbox::Transaction:
Public Member Functions | |
Transaction () | |
virtual | ~Transaction () |
virtual bool | canEstimateIncomingMessageSize ()=0 |
virtual int | computeIncomingMessageSize ()=0 |
virtual int | computeOutgoingMessageSize ()=0 |
virtual int | getSourceProcessor ()=0 |
virtual int | getDestinationProcessor ()=0 |
virtual void | packStream (AbstractStream &stream)=0 |
virtual void | unpackStream (AbstractStream &stream)=0 |
virtual void | copyLocalData ()=0 |
virtual void | printClassData (ostream &stream) const =0 |
|
The constructor for transaction does nothing interesting. |
|
The virtual destructor for transaction does nothing interesting. |
|
Return a boolean indicating whether this transaction can estimate the size of an incoming message. If this is false, then a different communications protocol kicks in and the message size is transmitted between nodes. Implemented in SAMRAI::tbox::StatTransaction, SAMRAI::xfer::CoarsenCopyTransaction< DIM >, SAMRAI::xfer::RefineCopyTransaction< DIM >, SAMRAI::xfer::RefineTimeTransaction< DIM >, SAMRAI::algs::OuteredgeSumTransaction< DIM >, and SAMRAI::algs::OuternodeSumTransaction< DIM >. |
|
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. Implemented in SAMRAI::tbox::StatTransaction, SAMRAI::xfer::CoarsenCopyTransaction< DIM >, SAMRAI::xfer::RefineCopyTransaction< DIM >, SAMRAI::xfer::RefineTimeTransaction< DIM >, SAMRAI::algs::OuteredgeSumTransaction< DIM >, and SAMRAI::algs::OuternodeSumTransaction< DIM >. |
|
Return the buffer space needed for the outgoing message. Implemented in SAMRAI::tbox::StatTransaction, SAMRAI::xfer::CoarsenCopyTransaction< DIM >, SAMRAI::xfer::RefineCopyTransaction< DIM >, SAMRAI::xfer::RefineTimeTransaction< DIM >, SAMRAI::algs::OuteredgeSumTransaction< DIM >, and SAMRAI::algs::OuternodeSumTransaction< DIM >. |
|
Return the sending processor for the communications transaction. Implemented in SAMRAI::tbox::StatTransaction, SAMRAI::xfer::CoarsenCopyTransaction< DIM >, SAMRAI::xfer::RefineCopyTransaction< DIM >, SAMRAI::xfer::RefineTimeTransaction< DIM >, SAMRAI::algs::OuteredgeSumTransaction< DIM >, and SAMRAI::algs::OuternodeSumTransaction< DIM >. |
|
Return the receiving processor for the communications transaction. Implemented in SAMRAI::tbox::StatTransaction, SAMRAI::xfer::CoarsenCopyTransaction< DIM >, SAMRAI::xfer::RefineCopyTransaction< DIM >, SAMRAI::xfer::RefineTimeTransaction< DIM >, SAMRAI::algs::OuteredgeSumTransaction< DIM >, and SAMRAI::algs::OuternodeSumTransaction< DIM >. |
|
Pack the transaction data into the message stream. Implemented in SAMRAI::tbox::StatTransaction. |
|
Unpack the transaction data from the message stream. Implemented in SAMRAI::tbox::StatTransaction. |
|
Perform the local data copy for the transaction. Implemented in SAMRAI::tbox::StatTransaction, SAMRAI::xfer::CoarsenCopyTransaction< DIM >, SAMRAI::xfer::RefineCopyTransaction< DIM >, SAMRAI::xfer::RefineTimeTransaction< DIM >, SAMRAI::algs::OuteredgeSumTransaction< DIM >, and SAMRAI::algs::OuternodeSumTransaction< DIM >. |
|
Print out transaction information. Implemented in SAMRAI::tbox::StatTransaction, SAMRAI::xfer::CoarsenCopyTransaction< DIM >, SAMRAI::xfer::RefineCopyTransaction< DIM >, SAMRAI::xfer::RefineTimeTransaction< DIM >, SAMRAI::algs::OuteredgeSumTransaction< DIM >, and SAMRAI::algs::OuternodeSumTransaction< DIM >. |