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

Example IBC for advection-diffusion problem. More...

#include <AdvectTestIBC.H>

Inheritance diagram for AdvectTestIBC:
Inheritance graph
[legend]

Public Member Functions

 AdvectTestIBC (const RealVect &a_center, const Real &a_size)
 
 ~AdvectTestIBC ()
 Destructor. More...
 
PhysIBCnew_physIBC ()
 Factory method - this object is its own factory. More...
 
void primBC (FArrayBox &a_F, const FArrayBox &a_W, const FArrayBox &a_Wextrap, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time)
 Set boundary fluxes. More...
 
void setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time)
 one sided is OK by me More...
 
void artViscBC (FArrayBox &a_F, const FArrayBox &a_U, const FArrayBox &a_divVel, const int &a_dir, const Real &a_time)
 does not apply here More...
 
void initialize (LevelData< FArrayBox > &a_U)
 Set up initial conditions. More...
 
- Public Member Functions inherited from PhysIBC
 PhysIBC ()
 Constructor. More...
 
virtual ~PhysIBC ()
 Destructor. More...
 
virtual void define (const ProblemDomain &a_domain, const Real &a_dx)
 Define the object. More...
 
virtual void getBoundaryFaces (Box &a_boundaryBox, const Box &a_dataFaceBox, const int &a_dir, const Side::LoHiSide &a_side)
 This function is called by primBC() to get boundary faces of a Box. More...
 

Protected Attributes

RealVect m_center
 
Real m_size
 
- Protected Attributes inherited from PhysIBC
bool m_isDefined
 
ProblemDomain m_domain
 
Real m_dx
 

Private Member Functions

 AdvectTestIBC ()
 
void operator= (const AdvectTestIBC &)
 
 AdvectTestIBC (const AdvectTestIBC &)
 

Detailed Description

Example IBC for advection-diffusion problem.

Constructor & Destructor Documentation

AdvectTestIBC::AdvectTestIBC ( const RealVect a_center,
const Real a_size 
)
inline

References m_center, and m_size.

AdvectTestIBC::~AdvectTestIBC ( )
inline

Destructor.

AdvectTestIBC::AdvectTestIBC ( )
inlineprivate

References MayDay::Error().

AdvectTestIBC::AdvectTestIBC ( const AdvectTestIBC )
private

Member Function Documentation

PhysIBC* AdvectTestIBC::new_physIBC ( )
virtual

Factory method - this object is its own factory.

Implements PhysIBC.

void AdvectTestIBC::primBC ( FArrayBox a_F,
const FArrayBox a_W,
const FArrayBox a_Wextrap,
const int &  a_dir,
const Side::LoHiSide a_side,
const Real a_time 
)
virtual

Set boundary fluxes.

Implements PhysIBC.

void AdvectTestIBC::setBdrySlopes ( FArrayBox a_dW,
const FArrayBox a_W,
const int &  a_dir,
const Real a_time 
)
inlinevirtual

one sided is OK by me

Implements PhysIBC.

void AdvectTestIBC::artViscBC ( FArrayBox a_F,
const FArrayBox a_U,
const FArrayBox a_divVel,
const int &  a_dir,
const Real a_time 
)
inlinevirtual

does not apply here

Implements PhysIBC.

void AdvectTestIBC::initialize ( LevelData< FArrayBox > &  a_U)
virtual

Set up initial conditions.

Implements PhysIBC.

void AdvectTestIBC::operator= ( const AdvectTestIBC )
private

Member Data Documentation

RealVect AdvectTestIBC::m_center
protected

Referenced by AdvectTestIBC().

Real AdvectTestIBC::m_size
protected

Referenced by AdvectTestIBC().


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