|
Mushy Layer
1.0
|
Factory to create DarcyBrinkmanOp. More...
#include <DarcyBrinkmanOp.H>
Public Member Functions | |
| DarcyBrinkmanOpFactory () | |
| Default constructor. | |
| void | define (const ProblemDomain &a_coarseDomain, const Vector< DisjointBoxLayout > &a_grids, const Vector< int > &a_refRatios, const Real &a_coarsedx, BCHolder a_bc, const Real &a_alpha, Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_aCoef, const Real &a_beta, Vector< RefCountedPtr< LevelData< FluxBox > > > &a_bCoef, Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_cCoef) |
| define method More... | |
| void | define (const ProblemDomain &a_coarseDomain, const Vector< DisjointBoxLayout > &a_grids, const Vector< int > &a_refRatios, const Real &a_coarsedx, BCHolder a_bc, const IntVect &a_ghostVect) |
| virtual MGLevelOp< LevelData< FArrayBox > > * | MGnewOp (const ProblemDomain &a_FineindexSpace, int a_depth, bool a_homoOnly=true) |
| make new MGLevelOp | |
| virtual AMRLevelOp< LevelData< FArrayBox > > * | AMRnewOp (const ProblemDomain &a_indexSpace) |
| make new AMRLevelOp | |
| virtual int | refToFiner (const ProblemDomain &a_domain) const |
| ref ratio to next finer level | |
Public Member Functions inherited from AMRLevelOpFactory< LevelData< FArrayBox > > | |
| MGLevelOpFactory () | |
Public Attributes | |
| int | m_coefficient_average_type |
| coefficient averaging method | |
Factory to create DarcyBrinkmanOp.
Factory to create DarcyBrinkmanOps
| void DarcyBrinkmanOpFactory::define | ( | const ProblemDomain & | a_coarseDomain, |
| const Vector< DisjointBoxLayout > & | a_grids, | ||
| const Vector< int > & | a_refRatios, | ||
| const Real & | a_coarsedx, | ||
| BCHolder | a_bc, | ||
| const Real & | a_alpha, | ||
| Vector< RefCountedPtr< LevelData< FArrayBox > > > & | a_aCoef, | ||
| const Real & | a_beta, | ||
| Vector< RefCountedPtr< LevelData< FluxBox > > > & | a_bCoef, | ||
| Vector< RefCountedPtr< LevelData< FArrayBox > > > & | a_cCoef | ||
| ) |
define method
a_coarseDomain is the domain at the coarsest level. a_grids is the AMR hierarchy. a_refRatios are the refinement ratios between levels. The ratio lives with the coarser level so a_refRatios[ilev] is the ratio between ilev and ilev+1 a_coarseDx is the grid spacing at the coarsest level. a_bc holds the boundary conditions. a_alpha is the identity constant coefficient a_beta is the laplacian constant coefficient. a_aCoef is the identity spatially varying coefficient a_bCoef is the laplacian spatially varying coefficient.
| void DarcyBrinkmanOpFactory::define | ( | const ProblemDomain & | a_coarseDomain, |
| const Vector< DisjointBoxLayout > & | a_grids, | ||
| const Vector< int > & | a_refRatios, | ||
| const Real & | a_coarsedx, | ||
| BCHolder | a_bc, | ||
| const IntVect & | a_ghostVect | ||
| ) |
Defines a factory for DarcyBrinkmanOp which allows the operators to allocate their own coefficient data.
and
coefficients are initialized to 1.
| a_coarseDomain | The domain at the coarsest level. |
| a_grids | The disjoint box layouts for the various refinement levels. |
| a_refRatios | The refinement ratios between levels. |
| a_coarsedx | The grid spacing at the coarsest level. |
| a_bc | The boundary condition imposed on the solution. |
| a_ghostVect | The ghost stencil to use in the created coefficient data. |
1.8.13