BISICLES AMR ice sheet model
0.9
|
Continuum damage model. More...
#include <AMRDamage.H>
Public Member Functions | |
~AMRDamage () | |
AMRDamage () | |
const LevelData< FArrayBox > * | damage (int a_level) const |
const LevelData< FArrayBox > * | water (int a_level) const |
int | finestLevel () const |
void | define (const Vector< DisjointBoxLayout > &a_grids, const Vector< int > &a_ratio, int a_finestLevel, const RealVect &a_crseDx) |
void | timestep (Real a_dt, AmrIce &a_amrIce) |
advance by timestep a_dt. a_dt must satisfy CFL More... | |
void | addPlotVars (Vector< std::string > &a_vars) |
add the names of variables to add to the plot file to a_var, in the order they will be written More... | |
void | writePlotData (LevelData< FArrayBox > &a_data, int a_level) |
copy level a_level plot data to LevelData<FArrayBox>& a_data More... | |
void | addCheckVars (Vector< std::string > &a_vars) |
fill a_var with the names of variables to add to the checkpoint file More... | |
void | writeCheckData (HDF5Handle &a_handle, int a_level) |
write level a_level checkpoint data More... | |
void | readCheckData (HDF5Handle &a_handle, HDF5HeaderData &a_header, int a_level, const DisjointBoxLayout &a_grids) |
read level a_level checkpoint data More... | |
Protected Attributes | |
Vector< LevelData< FArrayBox > *> | m_damage |
Vector< LevelData< FArrayBox > *> | m_water |
Friends | |
class | DamageConstitutiveRelation |
class | DamageCalvingModel |
Continuum damage model.
AMRDamage::~AMRDamage | ( | ) |
AMRDamage::AMRDamage | ( | ) |
void AMRDamage::addCheckVars | ( | Vector< std::string > & | a_vars | ) |
fill a_var with the names of variables to add to the checkpoint file
Referenced by DamageIceObserver::addCheckVars(), and finestLevel().
void AMRDamage::addPlotVars | ( | Vector< std::string > & | a_vars | ) |
add the names of variables to add to the plot file to a_var, in the order they will be written
Referenced by DamageIceObserver::addPlotVars(), and finestLevel().
const LevelData< FArrayBox > * AMRDamage::damage | ( | int | a_level | ) | const |
void AMRDamage::define | ( | const Vector< DisjointBoxLayout > & | a_grids, |
const Vector< int > & | a_ratio, | ||
int | a_finestLevel, | ||
const RealVect & | a_crseDx | ||
) |
Referenced by DamagePhysIBC::DamagePhysIBC(), finestLevel(), DamageIceObserver::notify(), and water().
|
inline |
References addCheckVars(), addPlotVars(), define(), readCheckData(), timestep(), writeCheckData(), and writePlotData().
Referenced by DamageConstitutiveRelation::DamageConstitutiveRelation().
void AMRDamage::readCheckData | ( | HDF5Handle & | a_handle, |
HDF5HeaderData & | a_header, | ||
int | a_level, | ||
const DisjointBoxLayout & | a_grids | ||
) |
read level a_level checkpoint data
References DamageIceObserver::readCheckData().
Referenced by finestLevel(), DamageIceObserver::readCheckData(), and writeCheckData().
void AMRDamage::timestep | ( | Real | a_dt, |
AmrIce & | a_amrIce | ||
) |
advance by timestep a_dt. a_dt must satisfy CFL
References AmrIce::amrGeometry(), AmrIce::amrVelocity(), AmrIce::basalThicknessSource(), computeFlux(), DamageIceObserver::damage(), DamagePhysIBC::define(), SurfaceFlux::evaluate(), AmrIce::faceVelocities(), AmrIce::finestLevel(), LevelSigmaCS::getH(), SurfaceFlux::parse(), AmrIce::surfaceThicknessSource(), and AmrIce::viscousTensor().
Referenced by finestLevel(), and DamageIceObserver::notify().
const LevelData< FArrayBox > * AMRDamage::water | ( | int | a_level | ) | const |
References define().
Referenced by DamageConstitutiveRelation::computeFaceMu().
void AMRDamage::writeCheckData | ( | HDF5Handle & | a_handle, |
int | a_level | ||
) |
write level a_level checkpoint data
copy level a_level checkpoint data to LevelData<FArrayBox>& a_data
References readCheckData().
Referenced by finestLevel(), and DamageIceObserver::writeCheckData().
void AMRDamage::writePlotData | ( | LevelData< FArrayBox > & | a_data, |
int | a_level | ||
) |
copy level a_level plot data to LevelData<FArrayBox>& a_data
Referenced by finestLevel(), and DamageIceObserver::writePlotData().
|
friend |
Referenced by DamageCalvingModel::new_CalvingModel().
|
friend |
Referenced by DamageConstitutiveRelation::DamageConstitutiveRelation().
|
mutableprotected |
|
mutableprotected |