UFO
instantiateObsLocFactory.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2020-2021 UCAR
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  */
7 
8 #ifndef UFO_INSTANTIATEOBSLOCFACTORY_H_
9 #define UFO_INSTANTIATEOBSLOCFACTORY_H_
10 
11 #include "oops/base/ObsLocalizationBase.h"
15 #include "ufo/ObsTraits.h"
16 
17 namespace ufo {
18 template<typename MODEL> void instantiateObsLocFactory() {
19  static oops::ObsLocalizationMaker<MODEL, ObsTraits, ufo::ObsLocGC99<MODEL>>
20  maker_("Gaspari-Cohn");
21  static oops::ObsLocalizationMaker<MODEL, ObsTraits, ufo::ObsLocSOAR<MODEL>>
22  makerSOAR_("SOAR");
23  static oops::ObsLocalizationMaker<MODEL, ObsTraits, ufo::ObsLocalization<MODEL>>
24  makerBoxCar_("Box car");
25 }
26 
27 } // namespace ufo
28 
29 #endif // UFO_INSTANTIATEOBSLOCFACTORY_H_
Definition: RunCRTM.h:27
static ObsFunctionMaker< SolarZenith > maker_("SolarZenith")
void instantiateObsLocFactory()