BISICLES AMR ice sheet model
0.9
|
Contains an AMRDamage, responds to changes in the ice sheet state. More...
#include <AMRDamage.H>
Public Member Functions | |
DamageIceObserver () | |
~DamageIceObserver () | |
AMRDamage & | damage () const |
void | notify (AmrIce::Observer::Notification a_n, AmrIce &a_amrIce) |
General purpose notify method: do something in response to a signal from an AmrIce. 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) |
copy level a_level checkpoint data to LevelData<FArrayBox>& a_data More... | |
void | readCheckData (HDF5Handle &a_handle, HDF5HeaderData &a_header, int a_level, const DisjointBoxLayout &a_grids) |
read level a_level checkpoint data from LevelData<FArrayBox>& a_data More... | |
![]() | |
virtual | ~Observer () |
Additional Inherited Members | |
![]() | |
enum | Notification { PostInitGrids, PreVelocitySolve, PostVelocitySolve, PostGeometryUpdate, PreCalving, PostCalving } |
Contains an AMRDamage, responds to changes in the ice sheet state.
DamageIceObserver::DamageIceObserver | ( | ) |
DamageIceObserver::~DamageIceObserver | ( | ) |
|
virtual |
fill a_var with the names of variables to add to the checkpoint file
Reimplemented from AmrIce::Observer.
References AMRDamage::addCheckVars().
|
virtual |
add the names of variables to add to the plot file to a_var, in the order they will be written
Reimplemented from AmrIce::Observer.
References AMRDamage::addPlotVars().
AMRDamage & DamageIceObserver::damage | ( | ) | const |
Referenced by init_bisicles_instance(), main(), and AMRDamage::timestep().
|
virtual |
General purpose notify method: do something in response to a signal from an AmrIce.
Implements AmrIce::Observer.
References AMRDamage::define(), AmrIce::dt(), AmrIce::dx(), AmrIce::finestLevel(), AmrIce::grids(), AmrIce::Observer::PostGeometryUpdate, AmrIce::Observer::PreVelocitySolve, AmrIce::refRatios(), and AMRDamage::timestep().
|
virtual |
read level a_level checkpoint data from LevelData<FArrayBox>& a_data
Reimplemented from AmrIce::Observer.
References AMRDamage::readCheckData().
Referenced by AMRDamage::readCheckData().
|
virtual |
copy level a_level checkpoint data to LevelData<FArrayBox>& a_data
Reimplemented from AmrIce::Observer.
References AMRDamage::writeCheckData().
|
virtual |
copy level a_level plot data to LevelData<FArrayBox>& a_data
Reimplemented from AmrIce::Observer.
References AMRDamage::writePlotData().