Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
pism::stressbalance::SSATestCasePlug Class Reference
+ Inheritance diagram for pism::stressbalance::SSATestCasePlug:

Public Member Functions

 SSATestCasePlug (std::shared_ptr< SSA > ssa)
 
- Public Member Functions inherited from pism::stressbalance::SSATestCase
 SSATestCase (std::shared_ptr< SSA > ssa)
 
virtual ~SSATestCase ()=default
 
virtual void init ()
 Initialize the test case at the start of a run.
 
virtual void run ()
 Solve the SSA.
 
virtual void report (const std::string &testname)
 Report on the generated solution.
 
virtual void write (const std::string &filename)
 Save the computation and data to a file.
 

Static Public Attributes

static const double H0 = 2000.0
 
static const double L = 50e3
 
static const double dhdx = 0.001
 
static const double tauc0 = 0.0
 
static const double B0 = 3.7e8
 

Protected Member Functions

virtual void initializeSSACoefficients ()
 Set up the coefficient variables as appropriate for the test case.
 
virtual void exactSolution (int i, int j, double x, double y, double *u, double *v)
 
- Protected Member Functions inherited from pism::stressbalance::SSATestCase
void report_netcdf (const std::string &testname, double max_vector, double rel_vector, double max_u, double max_v, double avg_u, double avg_v)
 

Additional Inherited Members

- Static Public Member Functions inherited from pism::stressbalance::SSATestCase
static std::shared_ptr< Gridgrid (std::shared_ptr< Context > ctx, int Mx, int My, double Lx, double Ly, grid::Registration registration, grid::Periodicity periodicity)
 
static std::shared_ptr< SSAsolver (std::shared_ptr< Grid > grid, const std::string &method)
 
- Protected Attributes inherited from pism::stressbalance::SSATestCase
std::shared_ptr< const pism::Gridm_grid
 
const std::shared_ptr< const Contextm_ctx
 
const Config::ConstPtr m_config
 
const units::System::Ptr m_sys
 
array::Scalar1 m_tauc
 
array::Array3D m_ice_enthalpy
 
array::Vector2 m_bc_values
 
array::Scalar2 m_bc_mask
 
Geometry m_geometry
 
std::shared_ptr< SSAm_ssa
 

Detailed Description

Definition at line 49 of file ssa_test_plug.cc.


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