/* * (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. */ #include "atlas/trans/ifs/TransIFSNodeColumns.h" #include "atlas/functionspace/NodeColumns.h" #include "atlas/functionspace/Spectral.h" #include "atlas/trans/detail/TransFactory.h" namespace atlas { namespace trans { TransIFSNodeColumns::TransIFSNodeColumns(const functionspace::NodeColumns& gp, const functionspace::Spectral& sp, const eckit::Configuration& config): TransIFSNodeColumns(Cache(), gp, sp, config) {} TransIFSNodeColumns::TransIFSNodeColumns(const Cache& cache, const functionspace::NodeColumns& gp, const functionspace::Spectral& sp, const eckit::Configuration& config): TransIFS(cache, gp.mesh().grid(), sp.truncation(), config) { assertCompatibleDistributions(gp, sp); spectral_ = sp; } TransIFSNodeColumns::~TransIFSNodeColumns() = default; namespace { static TransBuilderFunctionSpace builder_ifs("ifs(NodeColumns,Spectral)", "ifs"); // Deprecated, use below static TransBuilderFunctionSpace builder_ectrans("ectrans(NodeColumns,Spectral)", "ectrans"); } // namespace } // namespace trans } // namespace atlas