URI:
       tSeariseGreenland.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
       ---
       tSeariseGreenland.hh (1741B)
       ---
            1 // Copyright (C) 2008-2018 Ed Bueler, Constantine Khroulev, Ricarda Winkelmann,
            2 // Gudfinna Adalgeirsdottir and Andy Aschwanden
            3 //
            4 // This file is part of PISM.
            5 //
            6 // PISM is free software; you can redistribute it and/or modify it under the
            7 // terms of the GNU General Public License as published by the Free Software
            8 // Foundation; either version 3 of the License, or (at your option) any later
            9 // version.
           10 //
           11 // PISM is distributed in the hope that it will be useful, but WITHOUT ANY
           12 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
           13 // FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
           14 // details.
           15 //
           16 // You should have received a copy of the GNU General Public License
           17 // along with PISM; if not, write to the Free Software
           18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
           19 
           20 #ifndef __PASeariseGreenland_hh
           21 #define __PASeariseGreenland_hh
           22 
           23 #include "YearlyCycle.hh"
           24 #include "pism/util/Timeseries.hh"
           25 
           26 namespace pism {
           27 namespace atmosphere {
           28 
           29 //! \brief A modification of YearlyCycle tailored for the
           30 //! SeaRISE-Greenland assessment. Uses the Fausto [\ref Faustoetal2009]
           31 //! present-day temperature parameterization and stored precipitation data.
           32 class SeaRISEGreenland : public YearlyCycle {
           33 public:
           34   SeaRISEGreenland(IceGrid::ConstPtr g);
           35   virtual ~SeaRISEGreenland();
           36 
           37   virtual void init_impl(const Geometry &geometry);
           38   virtual void precip_time_series_impl(int i, int j, std::vector<double> &values) const;
           39 protected:
           40   virtual MaxTimestep max_timestep_impl(double t) const;
           41   virtual void update_impl(const Geometry &geometry, double t, double dt);
           42 };
           43 
           44 
           45 } // end of namespace atmosphere
           46 } // end of namespace pism
           47 
           48 #endif  // __PASeariseGreenland_hh