SABER
instantiateLocalizationFactory.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2009-2016 ECMWF.
3  * (C) Copyright 2020-2020 UCAR.
4  *
5  * This software is licensed under the terms of the Apache Licence Version 2.0
6  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
7  * In applying this licence, ECMWF does not waive the privileges and immunities
8  * granted to it by virtue of its status as an intergovernmental organisation nor
9  * does it submit to any jurisdiction.
10  */
11 
12 #ifndef SABER_OOPS_INSTANTIATELOCALIZATIONFACTORY_H_
13 #define SABER_OOPS_INSTANTIATELOCALIZATIONFACTORY_H_
14 
15 #include "oops/base/LocalizationBase.h"
18 
19 namespace saber {
20 
21 template <typename MODEL> void instantiateLocalizationFactory() {
22  static oops::LocalizationMaker<MODEL, LocalizationID<MODEL> > makerID_("ID");
23  static oops::LocalizationMaker<MODEL, LocalizationBUMP<MODEL> >
24  makerBUMP_("BUMP");
25 }
26 
27 } // namespace saber
28 
29 #endif // SABER_OOPS_INSTANTIATELOCALIZATIONFACTORY_H_
LocalizationBUMP.h
saber
Definition: type_bump.h:22
saber::instantiateLocalizationFactory
void instantiateLocalizationFactory()
Definition: instantiateLocalizationFactory.h:21
LocalizationID.h