Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM > Class Template Reference

Concrete subclass of the xfer::LocallyActiveDataRefineTransactionFactory<DIM> base class that allocates transaction outernode sum objects for a xfer::LocallyActiveDataRefineSchedule<DIM> object. More...

#include <source/algorithm/femutils/locally_active/LocallyActiveDataOuternodeSumTransactionFactory.h>

Inheritance diagram for SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LocallyActiveDataOuternodeSumTransactionFactory ()
 Default constructor.
virtual ~LocallyActiveDataOuternodeSumTransactionFactory ()
 Virtual destructor for base class.
void setRefineItems (const typename xfer::RefineClasses< DIM >::Data **refine_items, int num_refine_items)
 Set the array of xfer::RefineClass<DIM>::Data items used by the transactions.
void unsetRefineItems ()
 Clear the array of xfer::RefineClass<DIM>::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 ritem_id, const hier::Box< DIM > &box=hier::Box< DIM >(), bool use_time_interpolation=false, tbox::Pointer< tbox::Arena > pool=(tbox::Arena *)(0)) const
 Allocate an OuternodeSumTransaction<DIM> object.
void preprocessScratchSpace (tbox::Pointer< hier::PatchLevel< DIM > > level, double fill_time, const hier::LocallyActiveDataPatchLevelManager< DIM > &preprocess_mgr) const
 Function to initialize scratch space data for the sum transactions (patch data components indicated by the patch level manager) to zero.

Detailed Description

template<int DIM>
class SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM >

Concrete subclass of the xfer::LocallyActiveDataRefineTransactionFactory<DIM> base class that allocates transaction outernode sum objects for a xfer::LocallyActiveDataRefineSchedule<DIM> object.

See also:
xfer::LocallyActiveDataRefineTransactionFactory

xfer::OuternodeSumTransaction


Constructor & Destructor Documentation

template<int DIM>
SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM >::LocallyActiveDataOuternodeSumTransactionFactory  ) 
 

Default constructor.

template<int DIM>
SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM >::~LocallyActiveDataOuternodeSumTransactionFactory  )  [virtual]
 

Virtual destructor for base class.


Member Function Documentation

template<int DIM>
void SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM >::setRefineItems const typename xfer::RefineClasses< DIM >::Data **  refine_items,
int  num_refine_items
 

Set the array of xfer::RefineClass<DIM>::Data items used by the transactions.

template<int DIM>
void SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM >::unsetRefineItems  )  [virtual]
 

Clear the array of xfer::RefineClass<DIM>::Data items used by the transactions.

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

template<int DIM>
tbox::Pointer< tbox::Transaction > SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< 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  ritem_id,
const hier::Box< DIM > &  box = hier::Box< DIM >(),
bool  use_time_interpolation = false,
tbox::Pointer< tbox::Arena pool = (tbox::Arena *)(0)
const [virtual]
 

Allocate an OuternodeSumTransaction<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 Integer index of destination patch in destination patch level.
src_patch Integer index of source patch in source patch level.
ritem_id Integer index of xfer::RefineClass<DIM>::Data item associated with transaction.
box Optional const reference to box defining region of refine transaction. Default is an empty box.
use_time_interpolation Optional boolean flag indicating whether the refine transaction involves time interpolation. Default is false.
pool Optional pointer to memory pool from which the refine transaction may be allocated. Default is null.

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

template<int DIM>
void SAMRAI::algs::LocallyActiveDataOuternodeSumTransactionFactory< DIM >::preprocessScratchSpace tbox::Pointer< hier::PatchLevel< DIM > >  level,
double  fill_time,
const hier::LocallyActiveDataPatchLevelManager< DIM > &  preprocess_mgr
const [virtual]
 

Function to initialize scratch space data for the sum transactions (patch data components indicated by the patch level manager) to zero.

Parameters:
level tbox::Pointer to patch level holding scratch data.
fill_time Double value of simulation time at which preprocess operation is called.
preprocess_mgr Const reference to hier::LocallyActiveDataPatchLevelManager<DIM> object that indicates patch data array indices of which scratch patch data objects on each patch to preprocess.

Reimplemented from SAMRAI::xfer::LocallyActiveDataRefineTransactionFactory< DIM >.


The documentation for this class was generated from the following files:
Generated on Fri Dec 2 11:19:19 2005 for SAMRAI by  doxygen 1.4.2