Chombo + EB + MF  3.2
Public Member Functions | List of all members
AMRNodeOpFactory Class Reference

#include <AMRNodeOp.H>

Inheritance diagram for AMRNodeOpFactory:
Inheritance graph
[legend]

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 More...
 
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 More...
 
MGLevelOpFactory functions
virtual AMRNodeOpMGnewOp (const ProblemDomain &a_FineindexSpace, int depth, bool homoOnly=true)
 
- Public Member Functions inherited from AMRLevelOpFactory< LevelData< NodeFArrayBox > >
virtual ~AMRLevelOpFactory ()
 
- Public Member Functions inherited from MGLevelOpFactory< LevelData< NodeFArrayBox > >
 MGLevelOpFactory ()
 Base class constructor. More...
 
virtual ~MGLevelOpFactory ()
 Destructor. More...
 

AMRLevelOpFactory functions

Vector< ProblemDomainm_domains
 
Vector< DisjointBoxLayoutm_boxes
 
Vector< Realm_dx
 
Vector< int > m_refRatios
 
NodeBCFunc m_bc
 
Real m_alpha
 
Real m_beta
 
virtual AMRNodeOpAMRnewOp (const ProblemDomain &a_indexSpace)
 
virtual int refToFiner (const ProblemDomain &) const
 

Constructor & Destructor Documentation

virtual AMRNodeOpFactory::~AMRNodeOpFactory ( )
inlinevirtual

Member Function Documentation

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 > >.

Member Data Documentation

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

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