Chombo + EB  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() [1/2]

InterpInt::InterpInt ( )
inline

Default constructor. User must subsequently call define().

References m_isDefined.

Referenced by ~InterpInt().

◆ ~InterpInt()

virtual InterpInt::~InterpInt ( )
inlinevirtual

◆ InterpInt() [2/2]

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

Member Function Documentation

◆ define()

void InterpInt::define ( const DisjointBoxLayout a_gridsFine,
const DisjointBoxLayout a_gridsCoar,
int  a_refRat,
int  a_nComp 
)

Referenced by ~InterpInt().

◆ fillFineFromCoarPWConst()

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 
)

Referenced by ~InterpInt().

Member Data Documentation

◆ m_isDefined

bool InterpInt::m_isDefined
protected

Referenced by InterpInt().

◆ m_refRat

int InterpInt::m_refRat
protected

◆ m_nComp

int InterpInt::m_nComp
protected

◆ m_dblCoFi

DisjointBoxLayout InterpInt::m_dblCoFi
protected

◆ m_dblCoar

DisjointBoxLayout InterpInt::m_dblCoar
protected

◆ m_dblFine

DisjointBoxLayout InterpInt::m_dblFine
protected

◆ m_bufCoFi

LevelData<BaseFab<int> > InterpInt::m_bufCoFi
protected

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