PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pism::hydrology::EmptyingProblem Class Reference

#include <EmptyingProblem.hh>

+ Inheritance diagram for pism::hydrology::EmptyingProblem:

Public Member Functions

 EmptyingProblem (std::shared_ptr< const Grid > g)
 
virtual ~EmptyingProblem ()=default
 
void update (const Geometry &geometry, const array::Scalar *no_model_mask, const array::Scalar &water_input_rate, bool recompute_potential=true)
 
const array::Vectorflux () const
 
const array::Scalarremaining_water_thickness () const
 
const array::Vectoreffective_water_velocity () const
 
const array::Scalarpotential () const
 
const array::Scalaradjustment () const
 
const array::Scalarsinks () const
 
DiagnosticList diagnostics () 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...
 

Protected Member Functions

virtual void compute_raw_potential (const array::Scalar &ice_thickness, const array::Scalar &ice_bottom_surface, array::Scalar &result) const
 
void compute_potential (const array::Scalar &ice_thickness, const array::Scalar &ice_bottom_surface, const array::Scalar &domain_mask, array::Scalar1 &result)
 
void compute_velocity (const array::Scalar &hydraulic_potential, const array::Scalar1 &mask, array::Staggered &result) const
 
void compute_mask (const array::CellType &cell_type, const array::Scalar *no_model_mask, array::Scalar &result) const
 
- Protected Member Functions inherited from pism::Component
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
 
void regrid (const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)
 

Protected Attributes

array::Scalar1 m_potential
 
array::Scalar m_tmp
 
array::Scalar m_bottom_surface
 
array::Scalar1 m_W
 
array::Staggered1 m_Vstag
 
array::Staggered1 m_Qsum
 
array::Scalar1 m_domain_mask
 
array::Vector m_Q
 
array::Vector m_q_sg
 
array::Scalar m_adjustment
 
array::Scalar m_sinks
 
double m_dx
 
double m_dy
 
double m_eps_gradient
 
double m_speed
 
double m_tau
 
- 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...
 

Additional Inherited Members

- 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...
 

Detailed Description

Definition at line 34 of file EmptyingProblem.hh.


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