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

#include <ResistivityOp.H>

Inheritance diagram for ResistivityOpFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ~ResistivityOpFactory ()
 
 ResistivityOpFactory (const Vector< DisjointBoxLayout > &a_grids, const Vector< RefCountedPtr< LevelData< FluxBox > > > &a_eta, Real a_alpha, Real a_beta, const Vector< int > &a_refRatios, const ProblemDomain &a_domainCoar, const Real &a_dxCoar, BCFunc a_bc)
 
virtual MGLevelOp< LevelData< FArrayBox > > * MGnewOp (const ProblemDomain &a_FineindexSpace, int depth, bool homoOnly=true)
 
virtual AMRLevelOp< LevelData< FArrayBox > > * AMRnewOp (const ProblemDomain &a_indexSpace)
 
virtual int refToFiner (const ProblemDomain &) const
 
- Public Member Functions inherited from AMRLevelOpFactory< LevelData< FArrayBox > >
virtual ~AMRLevelOpFactory ()
 
- Public Member Functions inherited from MGLevelOpFactory< LevelData< FArrayBox > >
 MGLevelOpFactory ()
 Base class constructor. More...
 
virtual ~MGLevelOpFactory ()
 Destructor. More...
 

Private Member Functions

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

Private Attributes

Vector< RefCountedPtr< LevelData< FluxBox > > > m_eta
 
LevelData< FArrayBoxm_phic
 
Vector< ProblemDomainm_domains
 
Vector< DisjointBoxLayoutm_boxes
 
Vector< Realm_dx
 
Vector< int > m_refRatios
 
BCFunc m_bc
 
Real m_alpha
 
Real m_beta
 

Detailed Description

Factory to create ResistivityOps

Constructor & Destructor Documentation

◆ ~ResistivityOpFactory()

virtual ResistivityOpFactory::~ResistivityOpFactory ( )
inlinevirtual

◆ ResistivityOpFactory() [1/3]

ResistivityOpFactory::ResistivityOpFactory ( const Vector< DisjointBoxLayout > &  a_grids,
const Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_eta,
Real  a_alpha,
Real  a_beta,
const Vector< int > &  a_refRatios,
const ProblemDomain a_domainCoar,
const Real a_dxCoar,
BCFunc  a_bc 
)

◆ ResistivityOpFactory() [2/3]

ResistivityOpFactory::ResistivityOpFactory ( )
inlineprivate

weak construction is bad

References MayDay::Error().

◆ ResistivityOpFactory() [3/3]

ResistivityOpFactory::ResistivityOpFactory ( const ResistivityOpFactory a_opin)
inlineprivate

References MayDay::Error().

Member Function Documentation

◆ MGnewOp()

virtual MGLevelOp< LevelData<FArrayBox> >* ResistivityOpFactory::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 > >.

◆ AMRnewOp()

virtual AMRLevelOp< LevelData<FArrayBox> >* ResistivityOpFactory::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 > >.

◆ refToFiner()

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

return refinement ratio to next finer level.

Implements AMRLevelOpFactory< LevelData< FArrayBox > >.

◆ operator=()

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

References MayDay::Error().

Member Data Documentation

◆ m_eta

Vector<RefCountedPtr<LevelData<FluxBox> > > ResistivityOpFactory::m_eta
private

◆ m_phic

LevelData<FArrayBox> ResistivityOpFactory::m_phic
private

◆ m_domains

Vector<ProblemDomain> ResistivityOpFactory::m_domains
private

◆ m_boxes

Vector<DisjointBoxLayout> ResistivityOpFactory::m_boxes
private

◆ m_dx

Vector<Real> ResistivityOpFactory::m_dx
private

◆ m_refRatios

Vector<int> ResistivityOpFactory::m_refRatios
private

◆ m_bc

BCFunc ResistivityOpFactory::m_bc
private

◆ m_alpha

Real ResistivityOpFactory::m_alpha
private

◆ m_beta

Real ResistivityOpFactory::m_beta
private

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