#include <AMRNodeOp.H>
AMRLevelOpFactory functions | |
Vector< ProblemDomain > | m_domains |
Vector< DisjointBoxLayout > | m_boxes |
Vector< Real > | m_dx |
Vector< int > | m_refRatios |
NodeBCFunc | m_bc |
Real | m_alpha |
Real | m_beta |
virtual AMRNodeOp * | AMRnewOp (const ProblemDomain &a_indexSpace) |
virtual int | refToFiner (const ProblemDomain &) const |
Public Member Functions | |
virtual | ~AMRNodeOpFactory () |
void | define (const ProblemDomain &a_coarseDomain, const Vector< DisjointBoxLayout > &a_grids, const Vector< int > a_refRatios, const Real &a_coarsedx, NodeBCFunc a_bc, Real a_alpha=0., Real a_beta=1.) |
full AMR definition function | |
void | define (const ProblemDomain &a_domain, const DisjointBoxLayout &a_grid, const Real &a_dx, NodeBCFunc a_bc, int maxDepth=-1, Real a_alpha=0., Real a_beta=1.) |
regular multigrid definition function | |
MGLevelOpFactory functions | |
virtual AMRNodeOp * | MGnewOp (const ProblemDomain &a_FineindexSpace, int depth, bool homoOnly=true) |
virtual AMRNodeOpFactory::~AMRNodeOpFactory | ( | ) | [inline, virtual] |
void AMRNodeOpFactory::define | ( | const ProblemDomain & | a_coarseDomain, | |
const Vector< DisjointBoxLayout > & | a_grids, | |||
const Vector< int > | a_refRatios, | |||
const Real & | a_coarsedx, | |||
NodeBCFunc | a_bc, | |||
Real | a_alpha = 0. , |
|||
Real | a_beta = 1. | |||
) |
full AMR definition function
void AMRNodeOpFactory::define | ( | const ProblemDomain & | a_domain, | |
const DisjointBoxLayout & | a_grid, | |||
const Real & | a_dx, | |||
NodeBCFunc | a_bc, | |||
int | maxDepth = -1 , |
|||
Real | a_alpha = 0. , |
|||
Real | a_beta = 1. | |||
) |
regular multigrid definition function
virtual AMRNodeOp* AMRNodeOpFactory::MGnewOp | ( | const ProblemDomain & | a_FineindexSpace, | |
int | a_depth, | |||
bool | a_homoOnly = true | |||
) | [virtual] |
Create an operator at an index space = coarsen(a_fineIndexSpace, 2^a_depth) Return NULL if no such Multigrid level can be created at this a_depth. If a_homoOnly = true, then only homogeneous boundary conditions will be needed.
Implements MGLevelOpFactory< LevelData< NodeFArrayBox > >.
virtual AMRNodeOp* AMRNodeOpFactory::AMRnewOp | ( | const ProblemDomain & | a_indexSpace | ) | [virtual] |
return a new operator. this is done with a new call. caller is responsible for deletion
Implements AMRLevelOpFactory< LevelData< NodeFArrayBox > >.
virtual int AMRNodeOpFactory::refToFiner | ( | const ProblemDomain & | a_indexSpace | ) | const [virtual] |
return refinement ratio to next finer level.
Implements AMRLevelOpFactory< LevelData< NodeFArrayBox > >.
Vector<ProblemDomain> AMRNodeOpFactory::m_domains [private] |
Vector<DisjointBoxLayout> AMRNodeOpFactory::m_boxes [private] |
Vector<Real> AMRNodeOpFactory::m_dx [private] |
Vector<int> AMRNodeOpFactory::m_refRatios [private] |
NodeBCFunc AMRNodeOpFactory::m_bc [private] |
Real AMRNodeOpFactory::m_alpha [private] |
Real AMRNodeOpFactory::m_beta [private] |