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

A Calving model that provides a simple rate. More...

#include <CalvingModel.H>

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

Public Member Functions

virtual void applyCriterion (LevelData< FArrayBox > &a_thickness, LevelData< FArrayBox > &a_calvedIce, LevelData< FArrayBox > &a_addedIce, LevelData< FArrayBox > &a_removedIce, LevelData< FArrayBox > &a_iceFrac, const AmrIce &a_amrIce, int a_level, Stage a_stage)
 
 VariableRateCalvingModel (ParmParse &a_pp)
 
virtual ~VariableRateCalvingModel ()
 
virtual CalvingModelnew_CalvingModel ()
 factory method More...
 
virtual void getCalvingRate (LevelData< FArrayBox > &a_calvingRate, const AmrIce &a_amrIce, int a_level)
 frontal ablation rate. More...
 
- Public Member Functions inherited from CalvingModel
virtual ~CalvingModel ()
 
virtual void getWaterDepth (LevelData< FArrayBox > &a_waterDepth, const AmrIce &a_amrIce, int a_level)
 water depth for crevasse calving. More...
 

Additional Inherited Members

- Public Types inherited from CalvingModel
enum  Stage {
  Initialization, PostVelocitySolve, PostThicknessAdvection, PostRegrid,
  MAX_STAGE
}
 
- Static Public Member Functions inherited from CalvingModel
static void updateCalvedIce (const Real &a_thck, const Real a_prevThck, const int a_mask, Real &a_added, Real &a_calved, Real &a_removed)
 
static CalvingModelparseCalvingModel (const char *a_prefix)
 

Detailed Description

A Calving model that provides a simple rate.

The rate is cell-centred (which fits with the current implementation in AmrIce::advectIceFrac), and is specified by a SurfaceFlux.

Constructor & Destructor Documentation

◆ VariableRateCalvingModel()

VariableRateCalvingModel::VariableRateCalvingModel ( ParmParse &  a_pp)

◆ ~VariableRateCalvingModel()

VariableRateCalvingModel::~VariableRateCalvingModel ( )
virtual

Member Function Documentation

◆ applyCriterion()

void VariableRateCalvingModel::applyCriterion ( LevelData< FArrayBox > &  a_thickness,
LevelData< FArrayBox > &  a_calvedIce,
LevelData< FArrayBox > &  a_addedIce,
LevelData< FArrayBox > &  a_removedIce,
LevelData< FArrayBox > &  a_iceFrac,
const AmrIce a_amrIce,
int  a_level,
Stage  a_stage 
)
virtual

◆ getCalvingRate()

void VariableRateCalvingModel::getCalvingRate ( LevelData< FArrayBox > &  a_calvingRate,
const AmrIce a_amrIce,
int  a_level 
)
virtual

frontal ablation rate.

a default implementation

most models provide a criterion, rather than a rate.

Reimplemented from CalvingModel.

References DeglaciationCalvingModelA::applyCriterion().

◆ new_CalvingModel()

CalvingModel * VariableRateCalvingModel::new_CalvingModel ( )
virtual

factory method

Implements CalvingModel.

References SurfaceFlux::new_surfaceFlux().


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