PhysMappedIBC Class Reference

#include <PhysMappedIBC.H>

Inheritance diagram for PhysMappedIBC:

Inheritance graph
[legend]

List of all members.


Detailed Description

Physical/domain initial and boundary conditions.

Virtual base class through which a user specifies the initial and boundary conditions for a hyperbolic system of PDEs.

Public Member Functions

 PhysMappedIBC ()
 Constructor.
virtual ~PhysMappedIBC ()
 Destructor.
virtual void define (const ProblemDomain &a_domain, const Real &a_dx)
 Define the object.
virtual PhysMappedIBCnew_physIBC ()=0
 Factory method - this object is its own factory.
virtual void setTime (Real a_time)
virtual void setCoordSys (MultiBlockCoordSys *a_coordSysPtr)
void setCoordSys (NewCoordSys *a_coordSysPtr)
virtual void print ()
virtual void initialize (LevelData< FArrayBox > &a_U)=0
 Set up initial conditions.
virtual void initializeWithJ (LevelData< FArrayBox > &a_U)
virtual void primBC (FArrayBox &a_WGdnv, const FArrayBox &a_Wextrap, const FArrayBox &a_W, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time)
 Old set boundary fluxes for Cartesian methods -- will cause an error.
virtual void primBC (FArrayBox &a_WGdnv, const FArrayBox &a_Wextrap, const FArrayBox &a_W, const FArrayBox *const a_unitNormalBasisPtr, const Interval &a_velIntv, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time)=0
 Set boundary fluxes.
virtual void setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time)=0
 Set boundary slopes.
virtual void artViscBC (FArrayBox &a_F, const FArrayBox &a_U, const FArrayBox &a_divVel, const int &a_dir, const Real &a_time)
 Old artificial viscosity for Cartesian methods -- will cause an error.
virtual void artViscBC (FArrayBox &a_NtFdir, const CHArray< Real, SpaceDim+1, ArRangeCol > &a_Nctg, const FArrayBox &a_U, const FArrayBox &a_unitNormalBasis, const FArrayBox &a_divVel, const FArrayBox &a_csq, const FArrayBox &a_dxFace, const Interval &a_momIntv, const Real a_alpha, const Real a_beta, const Box &a_loFaceBox, const int a_hasLo, const Box &a_hiFaceBox, const int a_hasHi, const int a_dir)=0
 Adjust boundary fluxes to account for artificial viscosity.
bool haveExactSoln () const
 Do we have the exact solution.

Protected Attributes

MultiBlockCoordSysm_coordSysPtr
Real m_time
bool m_haveCoordSys
bool m_haveTime
bool m_haveExactSoln


Constructor & Destructor Documentation

PhysMappedIBC::PhysMappedIBC (  ) 

Constructor.

virtual PhysMappedIBC::~PhysMappedIBC (  )  [virtual]

Destructor.


Member Function Documentation

virtual void PhysMappedIBC::define ( const ProblemDomain a_domain,
const Real a_dx 
) [virtual]

Define the object.

Set the problem domain index space and the grid spacing for this initial and boundary condition object.

Reimplemented from PhysIBC.

virtual PhysMappedIBC* PhysMappedIBC::new_physIBC (  )  [pure virtual]

Factory method - this object is its own factory.

Return a point to a new PhysMappedIBC object with m_isDefined = false (i.e., its define() must be called before it is used).

Implements PhysIBC.

virtual void PhysMappedIBC::setTime ( Real  a_time  )  [virtual]

virtual void PhysMappedIBC::setCoordSys ( MultiBlockCoordSys a_coordSysPtr  )  [virtual]

Set the coordinate system for this IBC. This object does not assume of the coordinate system.

void PhysMappedIBC::setCoordSys ( NewCoordSys a_coordSysPtr  ) 

Set the coordinate system for this IBC. This object does not assume of the coordinate system. This method is the single-block version of setCoordSys.

virtual void PhysMappedIBC::print (  )  [inline, virtual]

virtual void PhysMappedIBC::initialize ( LevelData< FArrayBox > &  a_U  )  [pure virtual]

Set up initial conditions.

Implements PhysIBC.

virtual void PhysMappedIBC::initializeWithJ ( LevelData< FArrayBox > &  a_U  )  [inline, virtual]

References MayDay::Error().

virtual void PhysMappedIBC::primBC ( FArrayBox a_WGdnv,
const FArrayBox a_Wextrap,
const FArrayBox a_W,
const int &  a_dir,
const Side::LoHiSide a_side,
const Real a_time 
) [inline, virtual]

Old set boundary fluxes for Cartesian methods -- will cause an error.

Implements PhysIBC.

References MayDay::Error().

virtual void PhysMappedIBC::primBC ( FArrayBox a_WGdnv,
const FArrayBox a_Wextrap,
const FArrayBox a_W,
const FArrayBox *const   a_unitNormalBasisPtr,
const Interval a_velIntv,
const int &  a_dir,
const Side::LoHiSide a_side,
const Real a_time 
) [pure virtual]

Set boundary fluxes.

virtual void PhysMappedIBC::setBdrySlopes ( FArrayBox a_dW,
const FArrayBox a_W,
const int &  a_dir,
const Real a_time 
) [pure virtual]

Set boundary slopes.

The boundary slopes in a_dW are already set to one sided difference approximations. If this function doesn't change them they will be used for the slopes at the boundaries.

Implements PhysIBC.

virtual void PhysMappedIBC::artViscBC ( FArrayBox a_F,
const FArrayBox a_U,
const FArrayBox a_divVel,
const int &  a_dir,
const Real a_time 
) [inline, virtual]

Old artificial viscosity for Cartesian methods -- will cause an error.

Implements PhysIBC.

References MayDay::Error().

virtual void PhysMappedIBC::artViscBC ( FArrayBox a_NtFdir,
const CHArray< Real, SpaceDim+1, ArRangeCol > &  a_Nctg,
const FArrayBox a_U,
const FArrayBox a_unitNormalBasis,
const FArrayBox a_divVel,
const FArrayBox a_csq,
const FArrayBox a_dxFace,
const Interval a_momIntv,
const Real  a_alpha,
const Real  a_beta,
const Box a_loFaceBox,
const int  a_hasLo,
const Box a_hiFaceBox,
const int  a_hasHi,
const int  a_dir 
) [pure virtual]

Adjust boundary fluxes to account for artificial viscosity.

bool PhysMappedIBC::haveExactSoln (  )  const

Do we have the exact solution.


Member Data Documentation

bool PhysMappedIBC::m_haveTime [protected]


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

Generated on Thu Oct 19 03:27:20 2017 for Chombo + EB + MF by  doxygen 1.5.5