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

#include <NWOViscousTensorOp.H>

Inheritance diagram for NWOViscousTensorOpFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ~NWOViscousTensorOpFactory ()
 
 NWOViscousTensorOpFactory (const Vector< DisjointBoxLayout > &a_grids, const Vector< RefCountedPtr< LevelData< FluxBox > > > &a_eta, const Vector< RefCountedPtr< LevelData< FluxBox > > > &a_lambda, const Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_acoef, Real a_alpha, Real a_beta, const Vector< int > &a_refRatios, const ProblemDomain &a_domainCoar, const Real &a_dxCoar, BCFunc a_bc, Real a_safety=VTOP_DEFAULT_SAFETY, Real a_relaxTolerance=0.0, int a_relaxMinIter=1000)
 
 NWOViscousTensorOpFactory (const Vector< DisjointBoxLayout > &a_grids, const Vector< RefCountedPtr< LevelData< FluxBox > > > &a_eta, const Vector< RefCountedPtr< LevelData< FluxBox > > > &a_lambda, const Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_acoef, Real a_alpha, Real a_beta, const Vector< int > &a_refRatios, const ProblemDomain &a_domainCoar, const Real &a_dxCoar, BCHolder a_bc, Real a_safety=VTOP_DEFAULT_SAFETY, Real a_relaxTolerance=0.0, int a_relaxMinIter=1000)
 
virtual void define (const Vector< DisjointBoxLayout > &a_grids, const Vector< RefCountedPtr< LevelData< FluxBox > > > &a_eta, const Vector< RefCountedPtr< LevelData< FluxBox > > > &a_lambda, const Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_acoef, Real a_alpha, Real a_beta, const Vector< int > &a_refRatios, const ProblemDomain &a_domainCoar, const Real &a_dxCoar, BCHolder a_bc, Real a_safety=VTOP_DEFAULT_SAFETY, Real a_relaxTolerance=0.0, int a_relaxMinIter=1000)
 
virtual NWOViscousTensorOpMGnewOp (const ProblemDomain &a_FineindexSpace, int depth, bool homoOnly=true)
 
virtual NWOViscousTensorOpAMRnewOp (const ProblemDomain &a_indexSpace)
 
virtual int refToFiner (const ProblemDomain &) const
 
void setDefaults ()
 set any relevant default values More...
 
- 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...
 

Static Public Attributes

static int s_coefficientAverageType
 

Private Member Functions

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

Private Attributes

Vector< RefCountedPtr< LevelData< FluxBox > > > m_eta
 
Vector< RefCountedPtr< LevelData< FluxBox > > > m_lambda
 
Vector< RefCountedPtr< LevelData< FArrayBox > > > m_acoef
 
LevelData< FArrayBoxm_phic
 
Vector< ProblemDomainm_domains
 
Vector< DisjointBoxLayoutm_boxes
 
Vector< Realm_dx
 
Vector< int > m_refRatios
 
BCHolder m_bc
 
Real m_alpha
 
Real m_beta
 
Real m_safety
 
Real m_relaxTolerance
 
int m_relaxMinIter
 

Detailed Description

Factory to create NWOViscousTensorOps

Constructor & Destructor Documentation

◆ ~NWOViscousTensorOpFactory()

virtual NWOViscousTensorOpFactory::~NWOViscousTensorOpFactory ( )
inlinevirtual

◆ NWOViscousTensorOpFactory() [1/4]

NWOViscousTensorOpFactory::NWOViscousTensorOpFactory ( const Vector< DisjointBoxLayout > &  a_grids,
const Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_eta,
const Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_lambda,
const Vector< RefCountedPtr< LevelData< FArrayBox > > > &  a_acoef,
Real  a_alpha,
Real  a_beta,
const Vector< int > &  a_refRatios,
const ProblemDomain a_domainCoar,
const Real a_dxCoar,
BCFunc  a_bc,
Real  a_safety = VTOP_DEFAULT_SAFETY,
Real  a_relaxTolerance = 0.0,
int  a_relaxMinIter = 1000 
)

◆ NWOViscousTensorOpFactory() [2/4]

NWOViscousTensorOpFactory::NWOViscousTensorOpFactory ( const Vector< DisjointBoxLayout > &  a_grids,
const Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_eta,
const Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_lambda,
const Vector< RefCountedPtr< LevelData< FArrayBox > > > &  a_acoef,
Real  a_alpha,
Real  a_beta,
const Vector< int > &  a_refRatios,
const ProblemDomain a_domainCoar,
const Real a_dxCoar,
BCHolder  a_bc,
Real  a_safety = VTOP_DEFAULT_SAFETY,
Real  a_relaxTolerance = 0.0,
int  a_relaxMinIter = 1000 
)

◆ NWOViscousTensorOpFactory() [3/4]

NWOViscousTensorOpFactory::NWOViscousTensorOpFactory ( )
inlineprivate

weak construction is bad

References MayDay::Error().

◆ NWOViscousTensorOpFactory() [4/4]

NWOViscousTensorOpFactory::NWOViscousTensorOpFactory ( const NWOViscousTensorOpFactory a_opin)
inlineprivate

References MayDay::Error().

Member Function Documentation

◆ define()

virtual void NWOViscousTensorOpFactory::define ( const Vector< DisjointBoxLayout > &  a_grids,
const Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_eta,
const Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_lambda,
const Vector< RefCountedPtr< LevelData< FArrayBox > > > &  a_acoef,
Real  a_alpha,
Real  a_beta,
const Vector< int > &  a_refRatios,
const ProblemDomain a_domainCoar,
const Real a_dxCoar,
BCHolder  a_bc,
Real  a_safety = VTOP_DEFAULT_SAFETY,
Real  a_relaxTolerance = 0.0,
int  a_relaxMinIter = 1000 
)
virtual

◆ MGnewOp()

virtual NWOViscousTensorOp* NWOViscousTensorOpFactory::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 NWOViscousTensorOp* NWOViscousTensorOpFactory::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 NWOViscousTensorOpFactory::refToFiner ( const ProblemDomain a_indexSpace) const
virtual

return refinement ratio to next finer level.

Implements AMRLevelOpFactory< LevelData< FArrayBox > >.

◆ setDefaults()

void NWOViscousTensorOpFactory::setDefaults ( )

set any relevant default values

◆ operator=()

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

Member Data Documentation

◆ s_coefficientAverageType

int NWOViscousTensorOpFactory::s_coefficientAverageType
static

◆ m_eta

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

◆ m_lambda

Vector<RefCountedPtr<LevelData<FluxBox> > > NWOViscousTensorOpFactory::m_lambda
private

◆ m_acoef

Vector<RefCountedPtr<LevelData<FArrayBox> > > NWOViscousTensorOpFactory::m_acoef
private

◆ m_phic

LevelData<FArrayBox> NWOViscousTensorOpFactory::m_phic
private

◆ m_domains

Vector<ProblemDomain> NWOViscousTensorOpFactory::m_domains
private

◆ m_boxes

Vector<DisjointBoxLayout> NWOViscousTensorOpFactory::m_boxes
private

◆ m_dx

Vector<Real> NWOViscousTensorOpFactory::m_dx
private

◆ m_refRatios

Vector<int> NWOViscousTensorOpFactory::m_refRatios
private

◆ m_bc

BCHolder NWOViscousTensorOpFactory::m_bc
private

◆ m_alpha

Real NWOViscousTensorOpFactory::m_alpha
private

◆ m_beta

Real NWOViscousTensorOpFactory::m_beta
private

◆ m_safety

Real NWOViscousTensorOpFactory::m_safety
private

◆ m_relaxTolerance

Real NWOViscousTensorOpFactory::m_relaxTolerance
private

◆ m_relaxMinIter

int NWOViscousTensorOpFactory::m_relaxMinIter
private

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