PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pism::stressbalance::SSATestCaseConst Class Reference
+ Inheritance diagram for pism::stressbalance::SSATestCaseConst:

Public Member Functions

 SSATestCaseConst (std::shared_ptr< Context > ctx, int Mx, int My, double q, SSAFactory ssafactory)
 
- Public Member Functions inherited from pism::stressbalance::SSATestCase
 SSATestCase (std::shared_ptr< Context > ctx, int Mx, int My, double Lx, double Ly, grid::Registration registration, grid::Periodicity periodicity)
 
virtual ~SSATestCase ()
 
virtual void init ()
 Initialize the test case at the start of a run. More...
 
virtual void run ()
 Solve the SSA. More...
 
virtual void report (const std::string &testname)
 Report on the generated solution. More...
 
virtual void write (const std::string &filename)
 Save the computation and data to a file. More...
 

Protected Member Functions

virtual void initializeSSACoefficients ()
 Set up the coefficient variables as appropriate for the test case. More...
 
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)
 

Protected Attributes

double basal_q
 
double L
 
double H0
 
double dhdx
 
double nu0
 
double tauc0
 
- Protected Attributes inherited from pism::stressbalance::SSATestCase
MPI_Comm m_com
 
const std::shared_ptr< Contextm_ctx
 
const Config::Ptr m_config
 
std::shared_ptr< Gridm_grid
 
const units::System::Ptr m_sys
 
int m_stencil_width
 "wide" stencil width More...
 
EnthalpyConverter::Ptr m_enthalpyconverter
 
array::Scalar1 m_tauc
 
array::Array3D m_ice_enthalpy
 
array::Vector2 m_bc_values
 
array::Scalar2 m_bc_mask
 
Geometry m_geometry
 
SSAm_ssa
 

Detailed Description

Definition at line 57 of file ssa_test_const.cc.


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