VCAMRPoissonOpFactory Class Reference

#include <VCAMRPoissonOp.H>

Inheritance diagram for VCAMRPoissonOpFactory:

Inheritance graph
Collaboration diagram for VCAMRPoissonOpFactory:

Collaboration graph

List of all members.

Detailed Description

Factory to create VCAMRPoissonOps

Public Member Functions

 VCAMRPoissonOpFactory ()
virtual ~VCAMRPoissonOpFactory ()
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)
virtual VCAMRPoissonOpMGnewOp (const ProblemDomain &a_FineindexSpace, int a_depth, bool a_homoOnly=true)
virtual VCAMRPoissonOpAMRnewOp (const ProblemDomain &a_indexSpace)
virtual int refToFiner (const ProblemDomain &a_domain) const
void setDefaultValues ()

Public Attributes

int m_coefficient_average_type

Private Attributes

Vector< ProblemDomainm_domains
Vector< DisjointBoxLayoutm_boxes
Vector< Realm_dx
Vector< int > m_refRatios
BCHolder m_bc
Real m_alpha
Real m_beta
Vector< RefCountedPtr
< LevelData< FArrayBox > > > 
Vector< RefCountedPtr
< LevelData< FluxBox > > > 
Vector< RefCountedPtr
< LevelData< FArrayBox > > > 

Constructor & Destructor Documentation

VCAMRPoissonOpFactory::VCAMRPoissonOpFactory (  ) 

virtual VCAMRPoissonOpFactory::~VCAMRPoissonOpFactory (  )  [inline, virtual]

Member Function Documentation

void VCAMRPoissonOpFactory::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 

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. BCFunc 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 VCAMRPoissonOp* VCAMRPoissonOpFactory::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< FArrayBox > >.

virtual VCAMRPoissonOp* VCAMRPoissonOpFactory::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< FArrayBox > >.

virtual int VCAMRPoissonOpFactory::refToFiner ( const ProblemDomain a_indexSpace  )  const [virtual]

return refinement ratio to next finer level.

Implements AMRLevelOpFactory< LevelData< FArrayBox > >.

void VCAMRPoissonOpFactory::setDefaultValues (  ) 

Member Data Documentation

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

Generated on Tue Apr 14 14:24:03 2009 for Chombo + EB by  doxygen 1.5.5