Chombo + EB + MF  3.2
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
EBPoissonOpFactory Class Reference

#include <EBPoissonOpFactory.H>

Inheritance diagram for EBPoissonOpFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ~EBPoissonOpFactory ()
 
 EBPoissonOpFactory (const EBLevelGrid &a_eblgs, const RealVect &a_dx, const RealVect &a_origin, const int &a_orderEB, const int &a_numPreCondIters, const int &a_relaxType, RefCountedPtr< BaseDomainBCFactory > a_domainBCFactory, RefCountedPtr< BaseEBBCFactory > a_ebBcFactory, const Real &a_alpha, const Real &a_beta, const IntVect &a_ghostCellsPhi, const IntVect &a_ghostCellsRhs, bool a_forceNocoarser=false)
 
virtual EBPoissonOpMGnewOp (const ProblemDomain &a_FineindexSpace, int a_depth, bool a_homoOnly=true)
 
EBPoissonOpcreateOperator (const EBLevelGrid &a_eblgMGLevel, const EBLevelGrid &a_eblgCoarMG, const bool &a_hasMGObjects, const RealVect &a_dxMGLevel)
 
- Public Member Functions inherited from MGLevelOpFactory< LevelData< EBCellFAB > >
 MGLevelOpFactory ()
 Base class constructor. More...
 
virtual ~MGLevelOpFactory ()
 Destructor. More...
 

Protected Attributes

int m_orderEB
 
int m_numPreCondIters
 
int m_relaxType
 
EBLevelGrid m_eblg
 
Vector< EBLevelGridm_eblgVecMG
 
RealVect m_dx
 
RealVect m_origin
 
Real m_alpha
 
Real m_beta
 
const IntVect m_ghostCellsPhi
 
const IntVect m_ghostCellsRHS
 
RefCountedPtr< BaseDomainBCFactorym_domainBCFactory
 
RefCountedPtr< BaseEBBCFactorym_ebBCFactory
 

Private Member Functions

 EBPoissonOpFactory ()
 weak construction bad More...
 
 EBPoissonOpFactory (const EBPoissonOpFactory &a_opin)
 
void operator= (const EBPoissonOpFactory &a_opin)
 

Detailed Description

Factory class to generate EBPoissonOps. This follows the AMRLevelOpFactory interface.

Constructor & Destructor Documentation

◆ ~EBPoissonOpFactory()

virtual EBPoissonOpFactory::~EBPoissonOpFactory ( )
virtual

◆ EBPoissonOpFactory() [1/3]

EBPoissonOpFactory::EBPoissonOpFactory ( const EBLevelGrid a_eblgs,
const RealVect a_dx,
const RealVect a_origin,
const int &  a_orderEB,
const int &  a_numPreCondIters,
const int &  a_relaxType,
RefCountedPtr< BaseDomainBCFactory a_domainBCFactory,
RefCountedPtr< BaseEBBCFactory a_ebBcFactory,
const Real a_alpha,
const Real a_beta,
const IntVect a_ghostCellsPhi,
const IntVect a_ghostCellsRhs,
bool  a_forceNocoarser = false 
)

a_eblgs : layouts at each AMR level \ a_domainFactory : domain boundary conditions \ a_ebBCFactory: eb boundary conditions \ a_dxCoarse: grid spacing at coarsest level \ a_origin: offset to lowest corner of the domain \ a_refRatio: refinement ratios. refRatio[i] is between levels i and i+1 \ a_preCondIters: number of iterations to do for pre-conditioning \ a_relaxType: 0 means point Jacobi, 1 is Gauss-Seidel, 2 is line solver. \ a_orderEB: 0 to not do flux interpolation at cut faces. \ a_alpha: coefficent of identity \ a_beta: coefficient of laplacian.\ a_ghostCellsPhi: Number of ghost cells in phi, correction (typically one)\ a_ghostCellsRhs: Number of ghost cells in RHS, residual, lphi (typically zero)\ Ghost cell arguments are there for caching reasons. Once you set them, an error is thrown if you send in data that does not match.

◆ EBPoissonOpFactory() [2/3]

EBPoissonOpFactory::EBPoissonOpFactory ( )
inlineprivate

weak construction bad

References MayDay::Error().

◆ EBPoissonOpFactory() [3/3]

EBPoissonOpFactory::EBPoissonOpFactory ( const EBPoissonOpFactory a_opin)
inlineprivate

References MayDay::Error().

Member Function Documentation

◆ MGnewOp()

virtual EBPoissonOp* EBPoissonOpFactory::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< EBCellFAB > >.

◆ createOperator()

EBPoissonOp* EBPoissonOpFactory::createOperator ( const EBLevelGrid a_eblgMGLevel,
const EBLevelGrid a_eblgCoarMG,
const bool &  a_hasMGObjects,
const RealVect a_dxMGLevel 
)

◆ operator=()

void EBPoissonOpFactory::operator= ( const EBPoissonOpFactory a_opin)
inlineprivate

References MayDay::Error().

Member Data Documentation

◆ m_orderEB

int EBPoissonOpFactory::m_orderEB
protected

◆ m_numPreCondIters

int EBPoissonOpFactory::m_numPreCondIters
protected

◆ m_relaxType

int EBPoissonOpFactory::m_relaxType
protected

◆ m_eblg

EBLevelGrid EBPoissonOpFactory::m_eblg
protected

◆ m_eblgVecMG

Vector<EBLevelGrid> EBPoissonOpFactory::m_eblgVecMG
protected

◆ m_dx

RealVect EBPoissonOpFactory::m_dx
protected

◆ m_origin

RealVect EBPoissonOpFactory::m_origin
protected

◆ m_alpha

Real EBPoissonOpFactory::m_alpha
protected

◆ m_beta

Real EBPoissonOpFactory::m_beta
protected

◆ m_ghostCellsPhi

const IntVect EBPoissonOpFactory::m_ghostCellsPhi
protected

◆ m_ghostCellsRHS

const IntVect EBPoissonOpFactory::m_ghostCellsRHS
protected

◆ m_domainBCFactory

RefCountedPtr<BaseDomainBCFactory> EBPoissonOpFactory::m_domainBCFactory
protected

◆ m_ebBCFactory

RefCountedPtr<BaseEBBCFactory> EBPoissonOpFactory::m_ebBCFactory
protected

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