SABER
instantiateCovarFactory.h
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 #ifndef SABER_OOPS_INSTANTIATECOVARFACTORY_H_
12 #define SABER_OOPS_INSTANTIATECOVARFACTORY_H_
13 
14 #include "oops/base/instantiateCovarFactory.h"
15 
20 
21 namespace saber {
22 
23 template <typename MODEL> void instantiateCovarFactory() {
24  oops::instantiateCovarFactory<MODEL>();
25  static oops::CovarMaker<MODEL, ErrorCovarianceBUMP<MODEL> > makerBUMP_("BUMP");
26  static oops::CovarMaker<MODEL, ErrorCovarianceGSIRF<MODEL> > makerGSIRF_("GSIRF");
27  static oops::CovarMaker<MODEL, ErrorCovarianceID<MODEL> > makerID_("ID");
28 
29  saber::instantiateLocalizationFactory<MODEL>();
30 }
31 
32 } // namespace saber
33 
34 #endif // SABER_OOPS_INSTANTIATECOVARFACTORY_H_
ErrorCovarianceID.h
instantiateLocalizationFactory.h
saber::instantiateCovarFactory
void instantiateCovarFactory()
Definition: instantiateCovarFactory.h:23
saber
Definition: type_bump.h:22
ErrorCovarianceGSIRF.h
ErrorCovarianceBUMP.h