|
Mushy Layer
1.0
|
Factory for nonlinear variable coefficient operator. More...
#include <AMRNonLinearMultiCompOp.H>
Public Member Functions | |
| 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_enthalpySolidus, Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_enthalpyLiquidus, Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_enthalpyEutectic, MushyLayerParams *a_params, BCHolder a_derivedVarBC, int a_relaxMode, EdgeVelBCHolder a_porosityEdgeBC, bool a_apply_bcs_to_diagnostic_var=true) |
| Define object. More... | |
| virtual MGLevelOp< LevelData< FArrayBox > > * | MGnewOp (const ProblemDomain &a_FineindexSpace, int a_depth, bool a_homoOnly=true) |
| New MGLevelOp. More... | |
| virtual AMRLevelOp< LevelData< FArrayBox > > * | AMRnewOp (const ProblemDomain &a_indexSpace) |
| New AMRLevelOp. | |
| virtual int | refToFiner (const ProblemDomain &a_domain) const |
| refinement ratio to finer level | |
| void | setPrimaryVarPtr (Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_primaryVarPtr) |
| Set primary field. | |
| void | setUsePrimaryVar (bool a_usePrimaryVar) |
| Whether we should use the primary variable for solves. | |
| void | setBC (BCHolder &a_bc) |
| Set the boundary conditions m_bc. | |
| void | setSuperOptimised (bool a_val) |
| Set whether or not to turn on the 'super optimised' flag which does some dodgy stuff to try and speed up calculations (and is turned off by default). | |
Public Member Functions inherited from AMRLevelOpFactory< LevelData< FArrayBox > > | |
| MGLevelOpFactory () | |
Public Attributes | |
| int | m_coefficient_average_type |
| Type of coefficient averaging. | |
Factory for nonlinear variable coefficient operator.
Factory to create AMRNonLinearMultiCompOps
| void AMRNonLinearMultiCompOpFactory::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_enthalpySolidus, | ||
| Vector< RefCountedPtr< LevelData< FArrayBox > > > & | a_enthalpyLiquidus, | ||
| Vector< RefCountedPtr< LevelData< FArrayBox > > > & | a_enthalpyEutectic, | ||
| MushyLayerParams * | a_params, | ||
| BCHolder | a_derivedVarBC, | ||
| int | a_relaxMode, | ||
| EdgeVelBCHolder | a_porosityEdgeBC, | ||
| bool | a_apply_bcs_to_diagnostic_var = true |
||
| ) |
Define object.
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.
|
virtual |
New MGLevelOp.
Different number of components for these
Implements AMRLevelOpFactory< LevelData< FArrayBox > >.
1.8.13