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

Contains an AMRMelange, responds to changes in the ice sheet state. More...

#include <AMRMelange.H>

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

Public Member Functions

 MelangeIceObserver ()
 
 ~MelangeIceObserver ()
 
AMRMelangemelange () 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...
 
- Public Member Functions inherited from AmrIce::Observer
virtual ~Observer ()
 

Additional Inherited Members

- Public Types inherited from AmrIce::Observer
enum  Notification {
  PostInitGrids, PreVelocitySolve, PostVelocitySolve, PostGeometryUpdate,
  PreCalving, PostCalving
}
 

Detailed Description

Contains an AMRMelange, responds to changes in the ice sheet state.

Constructor & Destructor Documentation

◆ MelangeIceObserver()

MelangeIceObserver::MelangeIceObserver ( )

◆ ~MelangeIceObserver()

MelangeIceObserver::~MelangeIceObserver ( )

Member Function Documentation

◆ addCheckVars()

void MelangeIceObserver::addCheckVars ( Vector< std::string > &  a_vars)
virtual

fill a_var with the names of variables to add to the checkpoint file

Reimplemented from AmrIce::Observer.

References AMRMelange::addCheckVars().

◆ addPlotVars()

void MelangeIceObserver::addPlotVars ( Vector< std::string > &  a_vars)
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().

◆ melange()

AMRMelange & MelangeIceObserver::melange ( ) const

◆ notify()

void MelangeIceObserver::notify ( AmrIce::Observer::Notification  a_n,
AmrIce a_amrIce 
)
virtual

◆ readCheckData()

void MelangeIceObserver::readCheckData ( HDF5Handle &  a_handle,
HDF5HeaderData &  a_header,
int  a_level,
const DisjointBoxLayout &  a_grids 
)
virtual

read level a_level checkpoint data from LevelData<FArrayBox>& a_data

Reimplemented from AmrIce::Observer.

References AMRMelange::readCheckData().

◆ writeCheckData()

void MelangeIceObserver::writeCheckData ( HDF5Handle &  a_handle,
int  a_level 
)
virtual

copy level a_level checkpoint data to LevelData<FArrayBox>& a_data

Reimplemented from AmrIce::Observer.

References AMRMelange::writeCheckData().

◆ writePlotData()

void MelangeIceObserver::writePlotData ( LevelData< FArrayBox > &  a_data,
int  a_level 
)
virtual

copy level a_level plot data to LevelData<FArrayBox>& a_data

Reimplemented from AmrIce::Observer.

References AMRMelange::writePlotData().


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