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

Class to manage coarse-to-fine spatial interpolation to all fine cells within a single particular coarse cell. More...

#include <FourthOrderTensorInterp.H>

Public Member Functions

 FourthOrderTensorInterp ()
 Default constructor. More...
 
 ~FourthOrderTensorInterp ()
 Destructor. More...
 
void define (LevelData< FArrayBox > &a_fineData, const int &a_refRatio, const Box &a_fineDomain, const LevelData< FArrayBox > &a_coarseData, const Box &a_coarseDomain)
 Actual constructor. More...
 
void define (LevelData< FArrayBox > &a_fineData, const int &a_refRatio, const Box &a_fineDomain, const LevelData< FArrayBox > &a_coarseData, const Box &a_coarseDomain, const int &a_coarseGhostsFill, const Interval &a_fixedDims)
 
void makeDBLVec (Vector< DisjointBoxLayout > &a_dblVec, const DisjointBoxLayout &a_fineDbl, const int &a_refRatio)
 
void makeSemiCoarsenVec (Vector< FourthOrderOneDInterp *> &a_fineInterpVec, const int &a_nComp, const int &a_refRatio, const IntVect &a_coarseGhostVect, const Box &a_coarseDomain)
 
void defineLevelDataVec (Vector< LevelData< FArrayBox > * > &a_levelDataVec, const Vector< DisjointBoxLayout > &a_dblVec, const int &a_nComp, const IntVect &a_ghostVect)
 
void semiCoarsenInterpLoop (Vector< LevelData< FArrayBox > * > &a_levelDataVec, const Vector< FourthOrderOneDInterp *> &a_fineInterpVec)
 

Protected Attributes

bool m_defined
 whether define() has been called More...
 

Private Member Functions

void operator= (const FourthOrderTensorInterp &a_input)
 
 FourthOrderTensorInterp (const FourthOrderTensorInterp &a_input)
 

Detailed Description

Class to manage coarse-to-fine spatial interpolation to all fine cells within a single particular coarse cell.

Constructor & Destructor Documentation

◆ FourthOrderTensorInterp() [1/2]

FourthOrderTensorInterp::FourthOrderTensorInterp ( )

Default constructor.

Object requires define() to be called before all other functions.

◆ ~FourthOrderTensorInterp()

FourthOrderTensorInterp::~FourthOrderTensorInterp ( )
inline

Destructor.

Destroys all objects created by define(). Passed in data references of define() are left alone.

References define(), defineLevelDataVec(), makeDBLVec(), makeSemiCoarsenVec(), and semiCoarsenInterpLoop().

◆ FourthOrderTensorInterp() [2/2]

FourthOrderTensorInterp::FourthOrderTensorInterp ( const FourthOrderTensorInterp a_input)
inlineprivate

References MayDay::Error().

Member Function Documentation

◆ define() [1/2]

void FourthOrderTensorInterp::define ( LevelData< FArrayBox > &  a_fineData,
const int &  a_refRatio,
const Box a_fineDomain,
const LevelData< FArrayBox > &  a_coarseData,
const Box a_coarseDomain 
)

Actual constructor.

Set up object.

Referenced by ~FourthOrderTensorInterp().

◆ define() [2/2]

void FourthOrderTensorInterp::define ( LevelData< FArrayBox > &  a_fineData,
const int &  a_refRatio,
const Box a_fineDomain,
const LevelData< FArrayBox > &  a_coarseData,
const Box a_coarseDomain,
const int &  a_coarseGhostsFill,
const Interval a_fixedDims 
)

◆ makeDBLVec()

void FourthOrderTensorInterp::makeDBLVec ( Vector< DisjointBoxLayout > &  a_dblVec,
const DisjointBoxLayout a_fineDbl,
const int &  a_refRatio 
)

◆ makeSemiCoarsenVec()

void FourthOrderTensorInterp::makeSemiCoarsenVec ( Vector< FourthOrderOneDInterp *> &  a_fineInterpVec,
const int &  a_nComp,
const int &  a_refRatio,
const IntVect a_coarseGhostVect,
const Box a_coarseDomain 
)

◆ defineLevelDataVec()

void FourthOrderTensorInterp::defineLevelDataVec ( Vector< LevelData< FArrayBox > * > &  a_levelDataVec,
const Vector< DisjointBoxLayout > &  a_dblVec,
const int &  a_nComp,
const IntVect a_ghostVect 
)

◆ semiCoarsenInterpLoop()

void FourthOrderTensorInterp::semiCoarsenInterpLoop ( Vector< LevelData< FArrayBox > * > &  a_levelDataVec,
const Vector< FourthOrderOneDInterp *> &  a_fineInterpVec 
)

◆ operator=()

void FourthOrderTensorInterp::operator= ( const FourthOrderTensorInterp a_input)
inlineprivate

References MayDay::Error().

Member Data Documentation

◆ m_defined

bool FourthOrderTensorInterp::m_defined
protected

whether define() has been called


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