Chombo + EB + MF  3.2
Public Member Functions | Protected Attributes | List of all members
InterpInt Class Reference

fills fine LevelData<BaseFab<int> > from a coarse one using piecewise constant interpolation More...

#include <InterpInt.H>

Public Member Functions

 InterpInt ()
 
virtual ~InterpInt ()
 
 InterpInt (const DisjointBoxLayout &a_gridsFine, const DisjointBoxLayout &a_gridsCoar, int a_ref_ratio, int a_num_comps)
 
void define (const DisjointBoxLayout &a_gridsFine, const DisjointBoxLayout &a_gridsCoar, int a_refRat, int a_nComp)
 
void fillFineFromCoarPWConst (LevelData< BaseFab< int > > &a_fine, const LevelData< BaseFab< int > > &a_coar, int a_src_comp, int a_dest_comp, int a_num_comp)
 

Protected Attributes

bool m_isDefined
 
int m_refRat
 
int m_nComp
 
DisjointBoxLayout m_dblCoFi
 
DisjointBoxLayout m_dblCoar
 
DisjointBoxLayout m_dblFine
 
LevelData< BaseFab< int > > m_bufCoFi
 

Detailed Description

fills fine LevelData<BaseFab<int> > from a coarse one using piecewise constant interpolation

Constructor & Destructor Documentation

InterpInt::InterpInt ( )
inline

Default constructor. User must subsequently call define().

References m_isDefined.

virtual InterpInt::~InterpInt ( )
inlinevirtual
InterpInt::InterpInt ( const DisjointBoxLayout a_gridsFine,
const DisjointBoxLayout a_gridsCoar,
int  a_ref_ratio,
int  a_num_comps 
)

Member Function Documentation

void InterpInt::define ( const DisjointBoxLayout a_gridsFine,
const DisjointBoxLayout a_gridsCoar,
int  a_refRat,
int  a_nComp 
)
void InterpInt::fillFineFromCoarPWConst ( LevelData< BaseFab< int > > &  a_fine,
const LevelData< BaseFab< int > > &  a_coar,
int  a_src_comp,
int  a_dest_comp,
int  a_num_comp 
)

Member Data Documentation

bool InterpInt::m_isDefined
protected

Referenced by InterpInt().

int InterpInt::m_refRat
protected
int InterpInt::m_nComp
protected
DisjointBoxLayout InterpInt::m_dblCoFi
protected
DisjointBoxLayout InterpInt::m_dblCoar
protected
DisjointBoxLayout InterpInt::m_dblFine
protected
LevelData<BaseFab<int> > InterpInt::m_bufCoFi
protected

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