tIceEISModel.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
---
tIceEISModel.hh (1584B)
---
1 // Copyright (C) 2004-2017 Jed Brown, Ed Bueler and Constantine Khroulev
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 #ifndef __iceEISModel_hh
20 #define __iceEISModel_hh
21
22 #include "pism/icemodel/IceModel.hh"
23
24 namespace pism {
25
26 //! Derived class for doing EISMINT II simplified geometry experiments.
27 /*!
28 These experiments use the thermomechanically-coupled, non-polythermal shallow
29 ice approximation. See \ref EISMINT00 and Appendix B of \ref BBssasliding.
30 */
31 class IceEISModel : public IceModel {
32 public:
33 IceEISModel(IceGrid::Ptr g, Context::Ptr ctx, char experiment);
34
35 protected:
36 virtual void initialize_2d();
37
38 virtual void allocate_couplers();
39
40 char m_experiment;
41 };
42
43 void generate_trough_topography(IceModelVec2S &result); // for experiments I,J
44 void generate_mound_topography(IceModelVec2S &result); // for experiments K,L
45
46 } // end of namespace pism
47
48 #endif /* __iceEISModel_hh */
49