SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM > Class Template Reference

Concrete subclass of LocallyActiveDataCoarsenTransactionFactory<DIM> base class that allocates CoarsenCopyTransaction<DIM> objects for a LocallyActiveDataCoarsenSchedule<DIM> object. More...

#include <source/transfer/datamovers/locally_active/StandardLocallyActiveDataCoarsenTransactionFactory.h>

Inheritance diagram for SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 StandardLocallyActiveDataCoarsenTransactionFactory ()
 Default constructor.
virtual ~StandardLocallyActiveDataCoarsenTransactionFactory ()
 Virtual destructor.
void setCoarsenItems (const typename CoarsenClasses< DIM >::Data **coarsen_items, int num_coarsen_items)
 Set the array of CoarsenClass::Data items used by the transactions.
void unsetCoarsenItems ()
 Clear the array of CoarsenClass::Data items used by the transactions.
tbox::Pointer< tbox::Transactionallocate (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
 Allocate a CoarsenCopyTransaction<DIM> object.

Detailed Description

template<int DIM>
class SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >

Concrete subclass of LocallyActiveDataCoarsenTransactionFactory<DIM> base class that allocates CoarsenCopyTransaction<DIM> objects for a LocallyActiveDataCoarsenSchedule<DIM> object.

See also:
xfer::CoarsenCopyTransaction

xfer::LocallyActiveDataCoarsenTransactionFactory


Constructor & Destructor Documentation

template<int DIM>
SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >::StandardLocallyActiveDataCoarsenTransactionFactory (  ) 

Default constructor.

template<int DIM>
SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >::~StandardLocallyActiveDataCoarsenTransactionFactory (  )  [virtual]

Virtual destructor.


Member Function Documentation

template<int DIM>
void SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >::setCoarsenItems ( const typename CoarsenClasses< DIM >::Data **  coarsen_items,
int  num_coarsen_items 
) [virtual]

Set the array of CoarsenClass::Data items used by the transactions.

Implements SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >.

template<int DIM>
void SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< DIM >::unsetCoarsenItems (  )  [virtual]

Clear the array of CoarsenClass::Data items used by the transactions.

Implements SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >.

template<int DIM>
tbox::Pointer< tbox::Transaction > SAMRAI::xfer::StandardLocallyActiveDataCoarsenTransactionFactory< 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 [virtual]

Allocate a CoarsenCopyTransaction<DIM> object.

Parameters:
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 coarsen transaction may be allocated. Default is null.

Implements SAMRAI::xfer::LocallyActiveDataCoarsenTransactionFactory< DIM >.


The documentation for this class was generated from the following files:
Generated on Thu Jun 18 11:29:09 2009 for SAMRAI by  doxygen 1.5.1