Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SSB_diagnostics.hh
Go to the documentation of this file.
1/* Copyright (C) 2014, 2015, 2016, 2017, 2023 PISM Authors
2 *
3 * This file is part of PISM.
4 *
5 * PISM is free software; you can redistribute it and/or modify it under the
6 * terms of the GNU General Public License as published by the Free Software
7 * Foundation; either version 3 of the License, or (at your option) any later
8 * version.
9 *
10 * PISM is distributed in the hope that it will be useful, but WITHOUT ANY
11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13 * details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with PISM; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef _SSB_DIAGNOSTICS_H_
21#define _SSB_DIAGNOSTICS_H_
22
23#include "pism/util/Diagnostic.hh"
24
25namespace pism {
26
27class Vars;
28
29namespace stressbalance {
30
31class SSB_beta : public Diag<ShallowStressBalance>
32{
33public:
35protected:
36 virtual std::shared_ptr<array::Array> compute_impl() const;
37};
38
39//! \brief Computes the gravitational driving stress (diagnostically).
40class SSB_taud : public Diag<ShallowStressBalance>
41{
42public:
44protected:
45 virtual std::shared_ptr<array::Array> compute_impl() const;
46};
47
48//! \brief Computes the magnitude of the gravitational driving stress
49//! (diagnostically).
50class SSB_taud_mag : public Diag<ShallowStressBalance>
51{
52public:
54protected:
55 virtual std::shared_ptr<array::Array> compute_impl() const;
56};
57
58//! @brief Computes the basal shear stress @f$ \tau_b @f$.
59class SSB_taub : public Diag<ShallowStressBalance>
60{
61public:
63protected:
64 virtual std::shared_ptr<array::Array> compute_impl() const;
65};
66
67//! \brief Computes the magnitude of the basal shear stress
68//! (diagnostically).
69class SSB_taub_mag : public Diag<ShallowStressBalance>
70{
71public:
73protected:
74 virtual std::shared_ptr<array::Array> compute_impl() const;
75};
76
77} // end of namespace stressbalance
78} // end of namespace pism
79
80#endif /* _SSB_DIAGNOSTICS_H_ */
A template derived from Diagnostic, adding a "Model".
virtual std::shared_ptr< array::Array > compute_impl() const
virtual std::shared_ptr< array::Array > compute_impl() const
Computes the magnitude of the basal shear stress (diagnostically).
virtual std::shared_ptr< array::Array > compute_impl() const
Computes the basal shear stress .
virtual std::shared_ptr< array::Array > compute_impl() const
Computes the magnitude of the gravitational driving stress (diagnostically).
virtual std::shared_ptr< array::Array > compute_impl() const
Computes the gravitational driving stress (diagnostically).
Shallow stress balance (such as the SSA).