/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergovernmental organisation * nor does it submit to any jurisdiction. */ /// @author Willem Deconinck /// @date Jan 2015 #include "atlas/grid/detail/spacing/gaussian/N.h" #include "atlas/runtime/Exception.h" namespace atlas { namespace grid { namespace spacing { namespace gaussian { #if 0 std ::string GaussianLatitudes::className() { return "GaussianLatitudes"; } #endif void GaussianLatitudes::assign(double lats[], const size_t size) const { ATLAS_ASSERT(size >= lats_.size()); for (size_t jlat = 0; jlat < lats_.size(); ++jlat) { lats[jlat] = lats_[jlat]; } } void GaussianLatitudes::assign(std::vector& lats) const { lats = lats_; } template void load() { // eckit::ConcreteBuilderT0 builder( "tmp" ); GaussianLatitudesBuilder(); } void regist() { load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); load(); } } // namespace gaussian } // namespace spacing } // namespace grid } // namespace atlas