PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
|
Public Member Functions | |
SSATestCasePlug (std::shared_ptr< SSA > ssa) | |
![]() | |
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) |
![]() | |
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 std::shared_ptr< Grid > | grid (std::shared_ptr< Context > ctx, int Mx, int My, double Lx, double Ly, grid::Registration registration, grid::Periodicity periodicity) |
static std::shared_ptr< SSA > | solver (std::shared_ptr< Grid > grid, const std::string &method) |
![]() | |
std::shared_ptr< const pism::Grid > | m_grid |
const std::shared_ptr< const Context > | m_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< SSA > | m_ssa |
Definition at line 49 of file ssa_test_plug.cc.