PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
#include <CompleteOceanModel.hh>
Public Member Functions | |
CompleteOceanModel (std::shared_ptr< const Grid > g, std::shared_ptr< OceanModel > input) | |
CompleteOceanModel (std::shared_ptr< const Grid > g) | |
virtual | ~CompleteOceanModel ()=default |
![]() | |
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::Scalar & | shelf_base_temperature () const |
const array::Scalar & | shelf_base_mass_flux () const |
const array::Scalar & | average_water_column_pressure () 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. 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... | |
Protected Member Functions | |
virtual const array::Scalar & | shelf_base_temperature_impl () const |
virtual const array::Scalar & | shelf_base_mass_flux_impl () const |
![]() | |
virtual void | init_impl (const Geometry &geometry) |
virtual void | update_impl (const Geometry &geometry, double t, double dt) |
virtual MaxTimestep | max_timestep_impl (double t) const |
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::Scalar & | average_water_column_pressure_impl () const |
![]() | |
void | regrid (const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS) |
Protected Attributes | |
std::shared_ptr< array::Scalar > | m_shelf_base_temperature |
std::shared_ptr< array::Scalar > | m_shelf_base_mass_flux |
![]() | |
std::shared_ptr< OceanModel > | m_input_model |
std::shared_ptr< array::Scalar > | m_water_column_pressure |
![]() | |
const std::shared_ptr< const Grid > | m_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... | |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< array::Scalar > | allocate_shelf_base_temperature (std::shared_ptr< const Grid > g) |
static std::shared_ptr< array::Scalar > | allocate_shelf_base_mass_flux (std::shared_ptr< const Grid > g) |
static std::shared_ptr< array::Scalar > | allocate_water_column_pressure (std::shared_ptr< const Grid > g) |
![]() | |
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... | |
Base class for ocean models with dedicated storage for output fields.
All ocean models have storage for melange back pressure. (All but one set it to zero.)
Definition at line 33 of file CompleteOceanModel.hh.