#include <newViscousTensorOp.H>
Public Member Functions | |
virtual | ~ViscousTensorOpFactory () |
ViscousTensorOpFactory (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) | |
ViscousTensorOpFactory (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 ViscousTensorOp * | MGnewOp (const ProblemDomain &a_FineindexSpace, int depth, bool homoOnly=true) |
virtual ViscousTensorOp * | AMRnewOp (const ProblemDomain &a_indexSpace) |
virtual int | refToFiner (const ProblemDomain &) const |
void | setDefaults () |
set any relevant default values | |
virtual | ~ViscousTensorOpFactory () |
ViscousTensorOpFactory (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) | |
ViscousTensorOpFactory (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 ViscousTensorOp * | MGnewOp (const ProblemDomain &a_FineindexSpace, int depth, bool homoOnly=true) |
virtual ViscousTensorOp * | AMRnewOp (const ProblemDomain &a_indexSpace) |
virtual int | refToFiner (const ProblemDomain &) const |
void | setDefaults () |
set any relevant default values | |
Static Public Attributes | |
static int | s_coefficientAverageType |
Private Member Functions | |
ViscousTensorOpFactory () | |
weak construction is bad | |
ViscousTensorOpFactory (const ViscousTensorOpFactory &a_opin) | |
void | operator= (const ViscousTensorOpFactory &a_opin) |
ViscousTensorOpFactory () | |
weak construction is bad | |
ViscousTensorOpFactory (const ViscousTensorOpFactory &a_opin) | |
void | operator= (const ViscousTensorOpFactory &a_opin) |
Private Attributes | |
Vector< RefCountedPtr < LevelData< FluxBox > > > | m_eta |
Vector< RefCountedPtr < LevelData< FluxBox > > > | m_lambda |
Vector< RefCountedPtr < LevelData< FArrayBox > > > | m_acoef |
LevelData< FArrayBox > | m_phic |
Vector< ProblemDomain > | m_domains |
Vector< DisjointBoxLayout > | m_boxes |
Vector< Real > | m_dx |
Vector< int > | m_refRatios |
BCHolder | m_bc |
Real | m_alpha |
Real | m_beta |
Real | m_safety |
Real | m_relaxTolerance |
int | m_relaxMinIter |
Vector< RefCountedPtr < LevelData< FluxBox > > > | m_eta |
Vector< RefCountedPtr < LevelData< FluxBox > > > | m_lambda |
Vector< RefCountedPtr < LevelData< FArrayBox > > > | m_acoef |
LevelData< FArrayBox > | m_phic |
Vector< ProblemDomain > | m_domains |
Vector< DisjointBoxLayout > | m_boxes |
Vector< Real > | m_dx |
Vector< int > | m_refRatios |
virtual ViscousTensorOpFactory::~ViscousTensorOpFactory | ( | ) | [inline, virtual] |
References m_acoef, m_eta, m_lambda, and Vector< T >::size().
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | 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 | |||
) |
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | 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 | |||
) |
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | ) | [inline, private] |
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | const ViscousTensorOpFactory & | a_opin | ) | [inline, private] |
References MayDay::Error().
virtual ViscousTensorOpFactory::~ViscousTensorOpFactory | ( | ) | [inline, virtual] |
References m_acoef, m_eta, m_lambda, and Vector< T >::size().
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | 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 | |||
) |
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | 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 | |||
) |
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | ) | [inline, private] |
ViscousTensorOpFactory::ViscousTensorOpFactory | ( | const ViscousTensorOpFactory & | a_opin | ) | [inline, private] |
References MayDay::Error().
virtual void ViscousTensorOpFactory::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] |
virtual ViscousTensorOp* ViscousTensorOpFactory::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 ViscousTensorOp* ViscousTensorOpFactory::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 ViscousTensorOpFactory::refToFiner | ( | const ProblemDomain & | a_indexSpace | ) | const [virtual] |
return refinement ratio to next finer level.
Implements AMRLevelOpFactory< LevelData< FArrayBox > >.
void ViscousTensorOpFactory::setDefaults | ( | ) |
set any relevant default values
void ViscousTensorOpFactory::operator= | ( | const ViscousTensorOpFactory & | a_opin | ) | [inline, private] |
References MayDay::Error().
virtual void ViscousTensorOpFactory::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] |
virtual ViscousTensorOp* ViscousTensorOpFactory::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 ViscousTensorOp* ViscousTensorOpFactory::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 ViscousTensorOpFactory::refToFiner | ( | const ProblemDomain & | a_indexSpace | ) | const [virtual] |
return refinement ratio to next finer level.
Implements AMRLevelOpFactory< LevelData< FArrayBox > >.
void ViscousTensorOpFactory::setDefaults | ( | ) |
set any relevant default values
void ViscousTensorOpFactory::operator= | ( | const ViscousTensorOpFactory & | a_opin | ) | [inline, private] |
References MayDay::Error().
static int ViscousTensorOpFactory::s_coefficientAverageType [static] |
Vector<RefCountedPtr<LevelData<FluxBox> > > ViscousTensorOpFactory::m_eta [private] |
Referenced by ~ViscousTensorOpFactory().
Vector<RefCountedPtr<LevelData<FluxBox> > > ViscousTensorOpFactory::m_lambda [private] |
Referenced by ~ViscousTensorOpFactory().
Vector<RefCountedPtr<LevelData<FArrayBox> > > ViscousTensorOpFactory::m_acoef [private] |
Referenced by ~ViscousTensorOpFactory().
LevelData<FArrayBox> ViscousTensorOpFactory::m_phic [private] |
Vector<ProblemDomain> ViscousTensorOpFactory::m_domains [private] |
Vector<Real> ViscousTensorOpFactory::m_dx [private] |
Vector<int> ViscousTensorOpFactory::m_refRatios [private] |
BCHolder ViscousTensorOpFactory::m_bc [private] |
Real ViscousTensorOpFactory::m_alpha [private] |
Real ViscousTensorOpFactory::m_beta [private] |
Real ViscousTensorOpFactory::m_safety [private] |
Real ViscousTensorOpFactory::m_relaxTolerance [private] |
int ViscousTensorOpFactory::m_relaxMinIter [private] |
Vector<RefCountedPtr<LevelData<FluxBox> > > ViscousTensorOpFactory::m_eta [private] |
Vector<RefCountedPtr<LevelData<FluxBox> > > ViscousTensorOpFactory::m_lambda [private] |
Vector<RefCountedPtr<LevelData<FArrayBox> > > ViscousTensorOpFactory::m_acoef [private] |
LevelData<FArrayBox> ViscousTensorOpFactory::m_phic [private] |
Vector<ProblemDomain> ViscousTensorOpFactory::m_domains [private] |
Vector<Real> ViscousTensorOpFactory::m_dx [private] |
Vector<int> ViscousTensorOpFactory::m_refRatios [private] |