OOPS
instantiateVariableChangeFactory.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 OOPS_GENERIC_INSTANTIATEVARIABLECHANGEFACTORY_H_
12
#define OOPS_GENERIC_INSTANTIATEVARIABLECHANGEFACTORY_H_
13
14
#include "
oops/base/LinearVariableChangeBase.h
"
15
#include "
oops/base/VariableChangeBase.h
"
16
#include "
oops/generic/IdLinearVariableChange.h
"
17
#include "
oops/generic/IdVariableChange.h
"
18
19
namespace
oops
{
20
21
template
<
typename
MODEL>
22
void
instantiateVariableChangeFactory
() {
23
// Nonlinear change of variables
24
static
VariableChangeMaker<MODEL, IdVariableChange<MODEL>
> makerId_(
"Identity"
);
25
26
// Linear change of variables
27
static
LinearVariableChangeMaker<MODEL, IdLinearVariableChange<MODEL>
> makerIdLin_(
"Identity"
);
28
}
29
30
}
// namespace oops
31
32
#endif // OOPS_GENERIC_INSTANTIATEVARIABLECHANGEFACTORY_H_
oops
The namespace for the main oops code.
Definition:
ErrorCovarianceL95.cc:22
oops::LinearVariableChangeMaker
Definition:
LinearVariableChangeBase.h:181
IdLinearVariableChange.h
oops::VariableChangeMaker
Definition:
VariableChangeBase.h:164
oops::instantiateVariableChangeFactory
void instantiateVariableChangeFactory()
Definition:
instantiateVariableChangeFactory.h:22
IdVariableChange.h
LinearVariableChangeBase.h
VariableChangeBase.h
fv3-bundle
oops
src
oops
generic
instantiateVariableChangeFactory.h
Generated on Sun Oct 25 2020 12:42:57 for OOPS by
1.8.18