BISICLES AMR ice sheet model
0.9
|
PhysIBC for the damage model. More...
#include <AMRDamage.H>
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... | |
PhysIBC for the damage model.
|
inline |
References AMRDamage::define().
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.
void DamagePhysIBC::define | ( | const ProblemDomain & | a_domain, |
const Real & | a_dx | ||
) |
Referenced by new_physIBC(), and AMRDamage::timestep().
void DamagePhysIBC::initialize | ( | LevelData< FArrayBox > & | a_U | ) |
Set up initial conditions.
PhysIBC * DamagePhysIBC::new_physIBC | ( | ) |
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.
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.