BISICLES AMR ice sheet model  0.9
Public Member Functions | List of all members
DamagePhysIBC Class Reference

PhysIBC for the damage model. More...

#include <AMRDamage.H>

Inheritance diagram for DamagePhysIBC:
Inheritance graph
[legend]
Collaboration diagram for DamagePhysIBC:
Collaboration graph
[legend]

Public Member Functions

 DamagePhysIBC ()
 
void define (const ProblemDomain &a_domain, const Real &a_dx)
 
PhysIBC * new_physIBC ()
 Factory method - this object is its own factory. More...
 
void initialize (LevelData< FArrayBox > &a_U)
 Set up initial conditions. More...
 
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)
 Set boundary primitive values. More...
 
void setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time)
 Set boundary slopes. More...
 
void artViscBC (FArrayBox &a_F, const FArrayBox &a_U, const FArrayBox &a_divVel, const int &a_dir, const Real &a_time)
 Adjust boundary fluxes to account for artificial viscosity. More...
 

Detailed Description

PhysIBC for the damage model.

Constructor & Destructor Documentation

◆ DamagePhysIBC()

DamagePhysIBC::DamagePhysIBC ( )
inline

References AMRDamage::define().

Member Function Documentation

◆ artViscBC()

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

Adjust boundary fluxes to account for artificial viscosity.

◆ define()

void DamagePhysIBC::define ( const ProblemDomain &  a_domain,
const Real &  a_dx 
)

Referenced by new_physIBC(), and AMRDamage::timestep().

◆ initialize()

void DamagePhysIBC::initialize ( LevelData< FArrayBox > &  a_U)

Set up initial conditions.

◆ new_physIBC()

PhysIBC * DamagePhysIBC::new_physIBC ( )

Factory method - this object is its own factory.

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

References define().

◆ primBC()

void DamagePhysIBC::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 
)

Set boundary primitive values.

◆ setBdrySlopes()

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

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.


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