PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
pism::ocean::GivenTH Class Reference

#include <GivenTH.hh>

+ Inheritance diagram for pism::ocean::GivenTH:

Classes

class  Constants
 

Public Member Functions

 GivenTH (std::shared_ptr< const Grid > g)
 
virtual ~GivenTH ()=default
 
- Public Member Functions inherited from pism::ocean::CompleteOceanModel
 CompleteOceanModel (std::shared_ptr< const Grid > g, std::shared_ptr< OceanModel > input)
 
 CompleteOceanModel (std::shared_ptr< const Grid > g)
 
virtual ~CompleteOceanModel ()=default
 
- Public Member Functions inherited from pism::ocean::OceanModel
 OceanModel (std::shared_ptr< const Grid > g, std::shared_ptr< OceanModel > input)
 
 OceanModel (std::shared_ptr< const Grid > g)
 
virtual ~OceanModel ()=default
 
void init (const Geometry &geometry)
 
void update (const Geometry &geometry, double t, double dt)
 
const array::Scalarshelf_base_temperature () const
 
const array::Scalarshelf_base_mass_flux () const
 
const array::Scalaraverage_water_column_pressure () const
 
- Public Member Functions inherited from pism::Component
 Component (std::shared_ptr< const Grid > grid)
 
virtual ~Component ()=default
 
DiagnosticList diagnostics () const
 
TSDiagnosticList ts_diagnostics () const
 
std::shared_ptr< const Gridgrid () const
 
const Timetime () const
 
const Profilingprofiling () const
 
void define_model_state (const File &output) const
 Define model state variables in an output file. More...
 
void write_model_state (const File &output) const
 Write model state variables to an output file. More...
 
MaxTimestep max_timestep (double t) const
 Reports the maximum time-step the model can take at time t. More...
 

Private Member Functions

void update_impl (const Geometry &geometry, double t, double dt)
 
void init_impl (const Geometry &geometry)
 
MaxTimestep max_timestep_impl (double t) const
 
void pointwise_update (const Constants &constants, double sea_water_salinity, double sea_water_potential_temperature, double ice_thickness, double *shelf_base_temperature_out, double *shelf_base_melt_rate_out)
 Compute temperature and melt rate at the base of the shelf. Based on [HellmerOlbers1989] and [HollandJenkins1999]. More...
 
void subshelf_salinity (const Constants &constants, double sea_water_salinity, double sea_water_potential_temperature, double ice_thickness, double *shelf_base_salinity)
 Compute the basal salinity and make sure that it is consistent with the basal melt rate. More...
 
void subshelf_salinity_melt (const Constants &constants, double sea_water_salinity, double sea_water_potential_temperature, double ice_thickness, double *shelf_base_salinity)
 
void subshelf_salinity_freeze_on (const Constants &constants, double sea_water_salinity, double sea_water_potential_temperature, double ice_thickness, double *shelf_base_salinity)
 
void subshelf_salinity_diffusion_only (const Constants &constants, double sea_water_salinity, double sea_water_potential_temperature, double ice_thickness, double *shelf_base_salinity)
 Compute basal salinity in the case of no basal melt and no freeze-on, with the diffusion-only temperature distribution in the ice column. More...
 

Private Attributes

std::shared_ptr< array::Forcingm_theta_ocean
 
std::shared_ptr< array::Forcingm_salinity_ocean
 

Additional Inherited Members

- Static Public Member Functions inherited from pism::ocean::OceanModel
static std::shared_ptr< array::Scalarallocate_shelf_base_temperature (std::shared_ptr< const Grid > g)
 
static std::shared_ptr< array::Scalarallocate_shelf_base_mass_flux (std::shared_ptr< const Grid > g)
 
static std::shared_ptr< array::Scalarallocate_water_column_pressure (std::shared_ptr< const Grid > g)
 
- Protected Types inherited from pism::Component
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...
 
- Protected Member Functions inherited from pism::ocean::CompleteOceanModel
virtual const array::Scalarshelf_base_temperature_impl () const
 
virtual const array::Scalarshelf_base_mass_flux_impl () const
 
- Protected Member Functions inherited from pism::ocean::OceanModel
virtual void define_model_state_impl (const File &output) const
 The default (empty implementation). More...
 
virtual void write_model_state_impl (const File &output) const
 The default (empty implementation). More...
 
virtual DiagnosticList diagnostics_impl () const
 
virtual TSDiagnosticList ts_diagnostics_impl () const
 
virtual const array::Scalaraverage_water_column_pressure_impl () const
 
- Protected Member Functions inherited from pism::Component
void regrid (const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
 
- Protected Attributes inherited from pism::ocean::CompleteOceanModel
std::shared_ptr< array::Scalarm_shelf_base_temperature
 
std::shared_ptr< array::Scalarm_shelf_base_mass_flux
 
- Protected Attributes inherited from pism::ocean::OceanModel
std::shared_ptr< OceanModelm_input_model
 
std::shared_ptr< array::Scalarm_water_column_pressure
 
- Protected Attributes inherited from pism::Component
const std::shared_ptr< const Gridm_grid
 grid used by this component More...
 
const Config::ConstPtr m_config
 configuration database used by this component More...
 
const units::System::Ptr m_sys
 unit system used by this component More...
 
const Logger::ConstPtr m_log
 logger (for easy access) More...
 

Detailed Description

Definition at line 26 of file GivenTH.hh.


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