UFO
instantiateObsErrorFactory.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2020 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_INSTANTIATEOBSERRORFACTORY_H_
9 #define UFO_INSTANTIATEOBSERRORFACTORY_H_
10 
11 #include "oops/generic/instantiateObsErrorFactory.h"
12 #include "oops/interface/ObsErrorBase.h"
13 
16 
17 namespace ufo {
18 template<typename OBS> void instantiateObsErrorFactory() {
19  oops::instantiateObsErrorFactory<OBS>();
20  static oops::interface::ObsErrorMaker<OBS, ufo::ObsErrorDiagonal>
21  makerDiagUFO("diagonal ufo");
22  static oops::interface::ObsErrorMaker<OBS, ufo::ObsErrorCrossVarCov>
23  makerCrossVarCov("cross variable covariances");
24 }
25 
26 } // namespace ufo
27 
28 #endif // UFO_INSTANTIATEOBSERRORFACTORY_H_
Definition: RunCRTM.h:27
void instantiateObsErrorFactory()