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() [1/3]

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

References m_center, and m_size.

◆ ~AdvectTestIBC()

AdvectTestIBC::~AdvectTestIBC ( )
inline

Destructor.

References new_physIBC(), and primBC().

◆ AdvectTestIBC() [2/3]

AdvectTestIBC::AdvectTestIBC ( )
inlineprivate

References MayDay::Error(), and operator=().

◆ AdvectTestIBC() [3/3]

AdvectTestIBC::AdvectTestIBC ( const AdvectTestIBC )
private

Member Function Documentation

◆ new_physIBC()

PhysIBC* AdvectTestIBC::new_physIBC ( )
virtual

Factory method - this object is its own factory.

Implements PhysIBC.

Referenced by ~AdvectTestIBC().

◆ primBC()

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.

Referenced by ~AdvectTestIBC().

◆ setBdrySlopes()

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.

◆ artViscBC()

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.

References initialize().

◆ initialize()

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

Set up initial conditions.

Implements PhysIBC.

Referenced by artViscBC().

◆ operator=()

void AdvectTestIBC::operator= ( const AdvectTestIBC )
private

Referenced by AdvectTestIBC().

Member Data Documentation

◆ m_center

RealVect AdvectTestIBC::m_center
protected

Referenced by AdvectTestIBC().

◆ m_size

Real AdvectTestIBC::m_size
protected

Referenced by AdvectTestIBC().


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