FV3 Bundle
instantiateModelFactory.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2018 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 OOPS_GENERIC_INSTANTIATEMODELFACTORY_H_
9 #define OOPS_GENERIC_INSTANTIATEMODELFACTORY_H_
10 
11 #include "oops/base/ModelBase.h"
13 
14 namespace oops {
15 
16 template <typename MODEL> void instantiateModelFactory() {
17  static ModelMaker<MODEL, PseudoModel<MODEL> > makerPseudoModel_("PseudoModel");
18 }
19 
20 } // namespace oops
21 
22 #endif // OOPS_GENERIC_INSTANTIATEMODELFACTORY_H_
void instantiateModelFactory()
The namespace for the main oops code.