#include <NodeQuadCFInterp.H>
Collaboration diagram for NodeQuadCFInterp:
Public Member Functions | |
Constructors, destructor and defines | |
NodeQuadCFInterp () | |
NodeQuadCFInterp (const DisjointBoxLayout &a_grids, Real a_dx, const ProblemDomain &a_domain, const LayoutData< NodeCFIVS > *const a_loCFIVS, const LayoutData< NodeCFIVS > *const a_hiCFIVS, int a_refToCoarse, int a_interpolationDegree=2, int a_ncomp=1, bool a_verbose=false) | |
NodeQuadCFInterp (const DisjointBoxLayout &a_grids, Real a_dx, const Box &a_domain, const LayoutData< NodeCFIVS > *const a_loCFIVS, const LayoutData< NodeCFIVS > *const a_hiCFIVS, int a_refToCoarse, int a_interpolationDegree=2, int a_ncomp=1, bool a_verbose=false) | |
~NodeQuadCFInterp () | |
void | define (const DisjointBoxLayout &a_grids, Real a_dx, const ProblemDomain &a_domain, const LayoutData< NodeCFIVS > *const a_loCFIVS, const LayoutData< NodeCFIVS > *const a_hiCFIVS, int a_refToCoarse, int a_interpolationDegree=2, int a_ncomp=1, bool a_verbose=false) |
void | define (const DisjointBoxLayout &a_grids, Real a_dx, const Box &a_domain, const LayoutData< NodeCFIVS > *const a_loCFIVS, const LayoutData< NodeCFIVS > *const a_hiCFIVS, int a_refToCoarse, int a_interpolationDegree=2, int a_ncomp=1, bool a_verbose=false) |
void | setDomainNodeBC (const DomainNodeBC &a_dombcIn) |
Access functions | |
bool | isDefined () const |
Parameter-setting functions | |
void | setVerbose (bool a_verbose) |
Data modification functions | |
void | coarseFineInterp (LevelData< NodeFArrayBox > &a_phiFine, const LevelData< NodeFArrayBox > &a_phiCoarse, bool a_inhomogeneous) |
Protected Attributes | |
DisjointBoxLayout | m_grids |
int | m_ncomp |
int | m_refToCoarse |
int | m_coarsenings |
bool | m_isDefined |
bool | m_isBCDefined |
Real | m_dx |
Real | m_dxPenultimate |
ProblemDomain | m_domainPenultimate |
DomainNodeBC | m_dombc |
Vector< LevelData< NodeFArrayBox > * > | m_inter |
Vector< NodeQuadCFInterp2 * > | m_qcfi2 |
Vector< LayoutData< NodeCFIVS > * > | m_loCFIVScoarser |
Vector< LayoutData< NodeCFIVS > * > | m_hiCFIVScoarser |
bool | m_verbose |
Private Member Functions | |
void | clearMemory () |
void | setDefaultValues () |
|
Default constructor. User must subsequently call define(). |
|
Constructor calls setDefaultValues() and then calls define() with the same arguments. |
|
Constructor calls setDefaultValues() and then calls define() with the same arguments. |
|
Destructor. |
|
Full define function. Makes all coarse-fine information and sets internal variables. The current level is taken to be the fine level.
|
|
Full define function. Makes all coarse-fine information and sets internal variables. The current level is taken to be the fine level.
|
|
Sets external boundary condition for physical domain. You need this if the refinement ratio is more than 2, because you are composing refinements, and you'll need to set physical boundary conditions at the intermediate level. |
|
Returns |
|
Set whether to give output. Default is |
|
Coarse / Fine (inhomogeneous) interpolation operator. Fill the nodes of a_phi on the coarse/fine interface with interpolated data from a_phiCoarse.
|
|
|
|
|
|
CELL-centered grids at the current level (the finer level) |
|
number of components of data, needed for setting size of work array |
|
refinement ratio between this and the next coarser level |
|
the number of coarsenings to be done: this is log2(m_refToCoarse) |
|
has full define function been called? |
|
has boundary condition been defined? |
|
mesh spacing at this (fine) level |
|
mesh spacing at coarsest level refined by 2 |
|
CELL-centered physical domain of coarsest level refined by 2 |
|
boundary conditions |
|
data at intermediate coarsening levels; Vector length m_coarsenings-1. |
|
Vector of interpolating objects, of length m_coarsenings. m_qcfi2[i] averages refined versions of the SAME grids if i > 1, and in general DIFFERENT grids if i == 0. |
|
pointers to objects storing coarse/fine interface nodes between levels of refinement, including intermediate ones |
|
pointers to objects storing coarse/fine interface nodes between levels of refinement, including intermediate ones |
|
if |