#include <source/transfer/datamovers/locally_active/LocallyActiveDataCoarsenTransactionFactory.h>
Inheritance diagram for SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >:
Public Member Functions | |
LocallyActiveDataCoarsenTransactionFactory () | |
Default constructor. | |
virtual | ~LocallyActiveDataCoarsenTransactionFactory () |
Virtual destructor. | |
virtual void | setCoarsenItems (const typename CoarsenClasses< DIM >::Data **coarsen_items, int num_coarsen_items)=0 |
Pure virtual function to set the array of CoarsenClass::Data items associated with the coarsen schedule. Typical concrete transactions used by the schedule use this information to communicate data. This operation is called by the coarsen schedule during the execution of the LocallyActiveDataCoarsenSchedule<DIM>::fillData() routine before data communication operations begin. | |
virtual void | unsetCoarsenItems ()=0 |
Pure virtual function to clear the array of CoarsenClass::Data items associated with the coarsen schedule. This operation is called by the coarsen schedule after data communication operations are complete. | |
virtual tbox::Pointer< tbox::Transaction > | allocate (tbox::Pointer< hier::PatchLevel< DIM > > dst_level, tbox::Pointer< hier::PatchLevel< DIM > > src_level, tbox::Pointer< hier::BoxOverlap< DIM > > overlap, int dst_patch_id, int src_patch_id, int citem_id, tbox::Pointer< tbox::Arena > pool=(tbox::Arena *) NULL) const =0 |
Pure virtual function to allocate a concrete coarsen transaction object. This routine is called by the coarsen schedule during construction of the schedule. |
To add a new type of Transaction object MyCoarsenTransaction:
SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >::LocallyActiveDataCoarsenTransactionFactory | ( | ) |
Default constructor.
SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >::~LocallyActiveDataCoarsenTransactionFactory | ( | ) | [virtual] |
Virtual destructor.
virtual void SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >::setCoarsenItems | ( | const typename CoarsenClasses< DIM >::Data ** | coarsen_items, | |
int | num_coarsen_items | |||
) | [pure virtual] |
Pure virtual function to set the array of CoarsenClass::Data items associated with the coarsen schedule. Typical concrete transactions used by the schedule use this information to communicate data. This operation is called by the coarsen schedule during the execution of the LocallyActiveDataCoarsenSchedule<DIM>::fillData() routine before data communication operations begin.
Implemented in SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >.
virtual void SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >::unsetCoarsenItems | ( | ) | [pure virtual] |
Pure virtual function to clear the array of CoarsenClass::Data items associated with the coarsen schedule. This operation is called by the coarsen schedule after data communication operations are complete.
Implemented in SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >.
virtual tbox::Pointer<tbox::Transaction> SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >::allocate | ( | tbox::Pointer< hier::PatchLevel< DIM > > | dst_level, | |
tbox::Pointer< hier::PatchLevel< DIM > > | src_level, | |||
tbox::Pointer< hier::BoxOverlap< DIM > > | overlap, | |||
int | dst_patch_id, | |||
int | src_patch_id, | |||
int | citem_id, | |||
tbox::Pointer< tbox::Arena > | pool = (tbox::Arena *) NULL | |||
) | const [pure virtual] |
Pure virtual function to allocate a concrete coarsen transaction object. This routine is called by the coarsen schedule during construction of the schedule.
dst_level | tbox::Pointer to destination patch level. | |
src_level | tbox::Pointer to source patch level. | |
overlap | tbox::Pointer to overlap region between patches. | |
dst_patch_id | Integer index of destination patch in destination patch level. | |
src_patch_id | Integer index of source patch in source patch level. | |
citem_id | Integer index of CoarsenClass::Data item associated with transaction. | |
pool | Optional pointer to memory pool from which the refine transaction may be allocated. Default is null. |
Implemented in SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >.