OOPS
Resolution.cc
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2009-2016 ECMWF.
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 #include "lorenz95/Resolution.h"
12 #include <string>
13 #include <vector>
14 
15 // -----------------------------------------------------------------------------
16 namespace lorenz95 {
17 // -----------------------------------------------------------------------------
19  return Iterator(*this, 0);
20 }
21 // -----------------------------------------------------------------------------
23  return Iterator(*this, resol_);
24 }
25 // -------------------------------------------------------------------------------------------------
26 std::vector<double> Resolution::verticalCoord(std::string & vcUnits) const {
27  std::vector<double> vc(1, 1.0);
28  return vc;
29 }
30 
31 // -----------------------------------------------------------------------------
32 
33 } // namespace lorenz95
lorenz95::Resolution::begin
Iterator begin() const
Definition: Resolution.cc:18
lorenz95::Resolution::verticalCoord
std::vector< double > verticalCoord(std::string &) const
Definition: Resolution.cc:26
lorenz95::Resolution::resol_
const int resol_
Definition: Resolution.h:59
lorenz95::Resolution::end
Iterator end() const
Definition: Resolution.cc:22
lorenz95::Iterator
Definition: Iterator.h:30
lorenz95
The namespace for the L95 model.
Definition: l95/src/lorenz95/AnalyticInit.cc:17
Resolution.h