URI:
       tSSB_diagnostics.hh - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
  HTML git clone git://src.adamsgaard.dk/pism
   DIR Log
   DIR Files
   DIR Refs
   DIR LICENSE
       ---
       tSSB_diagnostics.hh (2192B)
       ---
            1 /* Copyright (C) 2014, 2015, 2016, 2017 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 
           25 namespace pism {
           26 
           27 class Vars;
           28 
           29 namespace stressbalance {
           30 
           31 class SSB_beta : public Diag<ShallowStressBalance>
           32 {
           33 public:
           34   SSB_beta(const ShallowStressBalance *m);
           35 protected:
           36   virtual IceModelVec::Ptr compute_impl() const;
           37 };
           38 
           39 //! \brief Computes the gravitational driving stress (diagnostically).
           40 class SSB_taud : public Diag<ShallowStressBalance>
           41 {
           42 public:
           43   SSB_taud(const ShallowStressBalance *m);
           44 protected:
           45   virtual IceModelVec::Ptr compute_impl() const;
           46 };
           47 
           48 //! \brief Computes the magnitude of the gravitational driving stress
           49 //! (diagnostically).
           50 class SSB_taud_mag : public Diag<ShallowStressBalance>
           51 {
           52 public:
           53   SSB_taud_mag(const ShallowStressBalance *m);
           54 protected:
           55   virtual IceModelVec::Ptr compute_impl() const;
           56 };
           57 
           58 //! @brief Computes the basal shear stress @f$ \tau_b @f$.
           59 class SSB_taub : public Diag<ShallowStressBalance>
           60 {
           61 public:
           62   SSB_taub(const ShallowStressBalance *m);
           63 protected:
           64   virtual IceModelVec::Ptr compute_impl() const;
           65 };
           66 
           67 //! \brief Computes the magnitude of the basal shear stress
           68 //! (diagnostically).
           69 class SSB_taub_mag : public Diag<ShallowStressBalance>
           70 {
           71 public:
           72   SSB_taub_mag(const ShallowStressBalance *m);
           73 protected:
           74   virtual IceModelVec::Ptr compute_impl() const;
           75 };
           76 
           77 } // end of namespace stressbalance
           78 } // end of namespace pism
           79 
           80 #endif /* _SSB_DIAGNOSTICS_H_ */