Chombo + EB  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

◆ ~AMRNodeOpFactory()

virtual AMRNodeOpFactory::~AMRNodeOpFactory ( )
inlinevirtual

References AMRNodeOp::define().

Member Function Documentation

◆ define() [1/2]

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

◆ define() [2/2]

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

◆ MGnewOp()

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

◆ AMRnewOp()

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

◆ refToFiner()

virtual int AMRNodeOpFactory::refToFiner ( const ProblemDomain a_indexSpace) const
virtual

return refinement ratio to next finer level.

Implements AMRLevelOpFactory< LevelData< NodeFArrayBox > >.

Member Data Documentation

◆ m_domains

Vector<ProblemDomain> AMRNodeOpFactory::m_domains
private

◆ m_boxes

Vector<DisjointBoxLayout> AMRNodeOpFactory::m_boxes
private

◆ m_dx

Vector<Real> AMRNodeOpFactory::m_dx
private

◆ m_refRatios

Vector<int> AMRNodeOpFactory::m_refRatios
private

◆ m_bc

NodeBCFunc AMRNodeOpFactory::m_bc
private

◆ m_alpha

Real AMRNodeOpFactory::m_alpha
private

◆ m_beta

Real AMRNodeOpFactory::m_beta
private

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