IBAMR  IBAMR version 0.19.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM > Class Template Reference

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

#include <LocallyActiveDataOuteredgeSumTransactionFactory.h>

Inheritance diagram for SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM >:
Inheritance graph
[legend]

Public Member Functions

 LocallyActiveDataOuteredgeSumTransactionFactory ()
 Default constructor. More...
 
virtual ~LocallyActiveDataOuteredgeSumTransactionFactory ()
 Virtual destructor for base class. More...
 
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. More...
 
void unsetRefineItems ()
 Clear the array of xfer::RefineClass<DIM>::Data items used by the transactions. More...
 
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 *) NULL) const
 Allocate an OuteredgeSumTransaction<DIM> object. More...
 
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. More...
 
virtual void setTransactionTime (double fill_time)
 Virtual function to set simulation time for transaction objects. This operation is called by the refine schedule during the execution of the LocallyActiveDataRefineSchedule<DIM>::fillData() routine before data communication operations begin. This function is optional for the concrete transaction factory object. The default implementation is a no-op. More...
 

Private Member Functions

 LocallyActiveDataOuteredgeSumTransactionFactory (const LocallyActiveDataOuteredgeSumTransactionFactory< DIM > &)
 
void operator= (const LocallyActiveDataOuteredgeSumTransactionFactory< DIM > &)
 

Private Attributes

const xfer::RefineClasses< DIM >::Data ** d_refine_items
 
int d_number_refine_items
 

Detailed Description

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

See also
xfer::LocallyActiveDataRefineTransactionFactory
xfer::OuteredgeSumTransaction

Constructor & Destructor Documentation

◆ LocallyActiveDataOuteredgeSumTransactionFactory() [1/2]

◆ ~LocallyActiveDataOuteredgeSumTransactionFactory()

◆ LocallyActiveDataOuteredgeSumTransactionFactory() [2/2]

Member Function Documentation

◆ setRefineItems()

template<int DIM>
void SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM >::setRefineItems ( const typename xfer::RefineClasses< DIM >::Data **  refine_items,
int  num_refine_items 
)
virtual

◆ unsetRefineItems()

template<int DIM>
void SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM >::unsetRefineItems ( )
virtual

◆ allocate()

template<int DIM>
tbox::Pointer<tbox::Transaction> SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< 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 *) NULL 
) const
virtual
Parameters
dst_leveltbox::Pointer to destination patch level.
src_leveltbox::Pointer to source patch level.
overlaptbox::Pointer to overlap region between patches.
dst_patch_idInteger index of destination patch in destination patch level.
src_patch_idInteger index of source patch in source patch level.
ritem_idInteger index of xfer::RefineClass<DIM>::Data item associated with transaction.
boxOptional const reference to box defining region of refine transaction. Default is an empty box.
use_time_interpolationOptional boolean flag indicating whether the refine transaction involves time interpolation. Default is false.
poolOptional pointer to memory pool from which the refine transaction may be allocated. Default is null.

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

◆ preprocessScratchSpace()

template<int DIM>
void SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM >::preprocessScratchSpace ( tbox::Pointer< hier::PatchLevel< DIM > >  level,
double  fill_time,
const hier::LocallyActiveDataPatchLevelManager< DIM > &  preprocess_mgr 
) const
virtual
Parameters
leveltbox::Pointer to patch level holding scratch data.
fill_timeDouble value of simulation time at which preprocess operation is called.
preprocess_mgrConst 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 >.

◆ operator=()

template<int DIM>
void SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM >::operator= ( const LocallyActiveDataOuteredgeSumTransactionFactory< DIM > &  )
private

◆ setTransactionTime()

template<int DIM>
virtual void SAMRAI::xfer::LocallyActiveDataRefineTransactionFactory< DIM >::setTransactionTime ( double  fill_time)
virtualinherited

Member Data Documentation

◆ d_refine_items

template<int DIM>
const xfer::RefineClasses<DIM>::Data** SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM >::d_refine_items
private

◆ d_number_refine_items

template<int DIM>
int SAMRAI::algs::LocallyActiveDataOuteredgeSumTransactionFactory< DIM >::d_number_refine_items
private

The documentation for this class was generated from the following file: