PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
The enthalpy-based energy balance model for regional runs. More...
#include <EnthalpyModel_Regional.hh>
Public Member Functions | |
EnthalpyModel_Regional (std::shared_ptr< const Grid > grid, std::shared_ptr< const stressbalance::StressBalance > stress_balance) | |
![]() | |
EnthalpyModel (std::shared_ptr< const Grid > grid, std::shared_ptr< const stressbalance::StressBalance > stress_balance) | |
![]() | |
EnergyModel (std::shared_ptr< const Grid > grid, std::shared_ptr< const stressbalance::StressBalance > stress_balance) | |
void | restart (const File &input_file, int record) |
void | bootstrap (const File &input_file, const array::Scalar &ice_thickness, const array::Scalar &surface_temperature, const array::Scalar &climatic_mass_balance, const array::Scalar &basal_heat_flux) |
Bootstrapping using heuristics. | |
void | initialize (const array::Scalar &basal_melt_rate, const array::Scalar &ice_thickness, const array::Scalar &surface_temperature, const array::Scalar &climatic_mass_balance, const array::Scalar &basal_heat_flux) |
Initialize using formulas (for runs using synthetic data). | |
void | update (double t, double dt, const Inputs &inputs) |
const EnergyModelStats & | stats () const |
const array::Array3D & | enthalpy () const |
const array::Scalar & | basal_melt_rate () const |
Basal melt rate in grounded areas. (It is set to zero elsewhere.) | |
const std::string & | stdout_flags () const |
![]() | |
Component (std::shared_ptr< const Grid > grid) | |
virtual | ~Component ()=default |
DiagnosticList | diagnostics () const |
TSDiagnosticList | ts_diagnostics () const |
std::shared_ptr< const Grid > | grid () const |
const Time & | time () const |
const Profiling & | profiling () const |
void | define_model_state (const File &output) const |
Define model state variables in an output file. | |
void | write_model_state (const File &output) const |
Write model state variables to an output file. | |
MaxTimestep | max_timestep (double t) const |
Reports the maximum time-step the model can take at time t. | |
Protected Member Functions | |
virtual void | restart_impl (const File &input_file, int record) |
virtual void | bootstrap_impl (const File &input_file, const array::Scalar &ice_thickness, const array::Scalar &surface_temperature, const array::Scalar &climatic_mass_balance, const array::Scalar &basal_heat_flux) |
virtual void | initialize_impl (const array::Scalar &basal_melt_rate, const array::Scalar &ice_thickness, const array::Scalar &surface_temperature, const array::Scalar &climatic_mass_balance, const array::Scalar &basal_heat_flux) |
void | update_impl (double t, double dt, const Inputs &inputs) |
Update ice enthalpy field based on conservation of energy. | |
![]() | |
virtual void | define_model_state_impl (const File &output) const |
The default (empty implementation). | |
virtual void | write_model_state_impl (const File &output) const |
The default (empty implementation). | |
![]() | |
virtual MaxTimestep | max_timestep_impl (double t) const |
virtual DiagnosticList | diagnostics_impl () const |
virtual TSDiagnosticList | ts_diagnostics_impl () const |
void | init_enthalpy (const File &input_file, bool regrid, int record) |
Initialize enthalpy by reading it from a file, or by reading temperature and liquid water fraction, or by reading the temperature field alone. | |
void | regrid_enthalpy () |
Regrid enthalpy from the -regrid_file. | |
![]() | |
void | regrid (const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS) |
Protected Attributes | |
array::Scalar * | m_no_model_mask |
array::Scalar | m_basal_melt_rate_stored |
![]() | |
array::Array3D | m_ice_enthalpy |
array::Array3D | m_work |
array::Scalar | m_basal_melt_rate |
EnergyModelStats | m_stats |
![]() | |
const std::shared_ptr< const Grid > | m_grid |
grid used by this component | |
const Config::ConstPtr | m_config |
configuration database used by this component | |
const units::System::Ptr | m_sys |
unit system used by this component | |
const Logger::ConstPtr | m_log |
logger (for easy access) | |
Additional Inherited Members | |
![]() | |
enum | RegriddingFlag { REGRID_WITHOUT_REGRID_VARS , NO_REGRID_WITHOUT_REGRID_VARS } |
This flag determines whether a variable is read from the -regrid_file file even if it is not listed among variables in -regrid_vars . More... | |
The enthalpy-based energy balance model for regional runs.
Definition at line 29 of file EnthalpyModel_Regional.hh.