BISICLES AMR ice sheet model
0.9
|
Contains an AMRMelange, responds to changes in the ice sheet state. More...
#include <AMRMelange.H>
Public Member Functions | |
MelangeIceObserver () | |
~MelangeIceObserver () | |
AMRMelange & | melange () 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 AMRMelange, responds to changes in the ice sheet state.
MelangeIceObserver::MelangeIceObserver | ( | ) |
MelangeIceObserver::~MelangeIceObserver | ( | ) |
|
virtual |
fill a_var with the names of variables to add to the checkpoint file
Reimplemented from AmrIce::Observer.
References AMRMelange::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 AMRMelange::addPlotVars().
AMRMelange & MelangeIceObserver::melange | ( | ) | const |
Referenced by AMRMelange::define(), init_bisicles_instance(), and AMRMelange::timestep().
|
virtual |
General purpose notify method: do something in response to a signal from an AmrIce.
Implements AmrIce::Observer.
References AMRMelange::define(), AmrIce::dt(), AmrIce::dx(), AmrIce::finestLevel(), AmrIce::grids(), AMRMelange::increment(), AmrIce::Observer::PostCalving, AmrIce::Observer::PostGeometryUpdate, AmrIce::Observer::PreCalving, AmrIce::Observer::PreVelocitySolve, AmrIce::refRatios(), and AMRMelange::timestep().
|
virtual |
read level a_level checkpoint data from LevelData<FArrayBox>& a_data
Reimplemented from AmrIce::Observer.
References AMRMelange::readCheckData().
|
virtual |
copy level a_level checkpoint data to LevelData<FArrayBox>& a_data
Reimplemented from AmrIce::Observer.
References AMRMelange::writeCheckData().
|
virtual |
copy level a_level plot data to LevelData<FArrayBox>& a_data
Reimplemented from AmrIce::Observer.
References AMRMelange::writePlotData().