Debian Codegraph @

src/atlas/grid/detail/pl/classic_gaussian/PointsPerLatitude.h

raw
1 /*
2 * (C) Copyright 2013 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
8 * nor does it submit to any jurisdiction.
9 */
10
11 /// @author Willem Deconinck
12 /// @date Mar 2016
13
14 #pragma once
15
16 #include <cstddef>
17
18 namespace atlas {
19 namespace grid {
20 namespace detail {
21 namespace pl {
22 namespace classic_gaussian {
23
24 /**
25 * @brief Compute points per latitude between North pole and equator
26 * @param N [in] Number of latitudes between pole and equator (Gaussian N
27 * number)
28 * @param nlon [out] points per latitude
29 */
30 void points_per_latitude_npole_equator(const size_t N, long nlon[]);
31
32 /**
33 * @brief Compute points per latitude between North pole and equator
34 * @param N [in] Number of latitudes between pole and equator (Gaussian N
35 * number)
36 * @param nlon [out] points per latitude
37 */
38 void points_per_latitude_npole_equator(const size_t N, int nlon[]);
39
40 /**
41 * @brief Compute points per latitude between North pole and South pole
42 * @param N [in] Number of latitudes between pole and equator (Gaussian N
43 * number)
44 * @param nlon [out] points per latitude (size 2*N)
45 */
46 void points_per_latitude_npole_spole(const size_t N, long nlon[]);
47
48 /**
49 * @brief Compute points per latitude between North pole and South pole
50 * @param N [in] Number of latitudes between pole and equator (Gaussian N
51 * number)
52 * @param nlon [out] points per latitude (size 2*N)
53 */
54 void points_per_latitude_npole_spole(const size_t N, int nlon[]);
55
56 } // namespace classic_gaussian
57 } // namespace pl
58 } // namespace detail
59 } // namespace grid
60 } // namespace atlas