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

virtual ResistivityOpFactory::~ResistivityOpFactory ( )
inlinevirtual
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::ResistivityOpFactory ( )
inlineprivate

weak construction is bad

References MayDay::Error().

ResistivityOpFactory::ResistivityOpFactory ( const ResistivityOpFactory a_opin)
inlineprivate

References MayDay::Error().

Member Function Documentation

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

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

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

return refinement ratio to next finer level.

Implements AMRLevelOpFactory< LevelData< FArrayBox > >.

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

References MayDay::Error().

Member Data Documentation

Vector<RefCountedPtr<LevelData<FluxBox> > > ResistivityOpFactory::m_eta
private
LevelData<FArrayBox> ResistivityOpFactory::m_phic
private
Vector<ProblemDomain> ResistivityOpFactory::m_domains
private
Vector<DisjointBoxLayout> ResistivityOpFactory::m_boxes
private
Vector<Real> ResistivityOpFactory::m_dx
private
Vector<int> ResistivityOpFactory::m_refRatios
private
BCFunc ResistivityOpFactory::m_bc
private
Real ResistivityOpFactory::m_alpha
private
Real ResistivityOpFactory::m_beta
private

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