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

A Calving model that provides a rate proportional to speed: the constant of proportionality can vary in x,y,t. More...

#include <CalvingModel.H>

Inheritance diagram for RateProportionalToSpeedCalvingModel:
Inheritance graph
[legend]
Collaboration diagram for RateProportionalToSpeedCalvingModel:
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)
 
 RateProportionalToSpeedCalvingModel (ParmParse &a_pp)
 
virtual ~RateProportionalToSpeedCalvingModel ()
 
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 rate proportional to speed: the constant of proportionality can vary in x,y,t.

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

Constructor & Destructor Documentation

◆ RateProportionalToSpeedCalvingModel()

RateProportionalToSpeedCalvingModel::RateProportionalToSpeedCalvingModel ( ParmParse &  a_pp)

◆ ~RateProportionalToSpeedCalvingModel()

RateProportionalToSpeedCalvingModel::~RateProportionalToSpeedCalvingModel ( )
virtual

References getCalvingRate().

Member Function Documentation

◆ applyCriterion()

void RateProportionalToSpeedCalvingModel::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 RateProportionalToSpeedCalvingModel::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 AmrIce::velocity().

Referenced by ~RateProportionalToSpeedCalvingModel().

◆ new_CalvingModel()

CalvingModel * RateProportionalToSpeedCalvingModel::new_CalvingModel ( )
virtual

factory method

Implements CalvingModel.

References SurfaceFlux::new_surfaceFlux().


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