FV3 Bundle
|
Control variable. More...
#include <ControlVariable.h>
Public Member Functions | |
ControlVariable (const eckit::Configuration &, const Variables &, const Geometry_ &) | |
The arguments define the number of sub-windows and the resolution. More... | |
ControlVariable (const ControlVariable &) | |
~ControlVariable () | |
void | read (const eckit::Configuration &) |
I/O and diagnostics. More... | |
void | write (const eckit::Configuration &) const |
double | norm () const |
State4D_ & | state () |
Get state control variable. More... | |
const State4D_ & | state () const |
ModelAux_ & | modVar () |
Get augmented model control variable. More... | |
const ModelAux_ & | modVar () const |
ObsAuxCtrl_ & | obsVar () |
Get augmented observation control variable. More... | |
const ObsAuxCtrl_ & | obsVar () const |
Static Public Member Functions | |
static const std::string | classname () |
Private Types | |
typedef Geometry< MODEL > | Geometry_ |
typedef ModelAuxControl< MODEL > | ModelAux_ |
typedef ObsAuxControl< MODEL > | ObsAuxCtrl_ |
typedef State4D< MODEL > | State4D_ |
Private Member Functions | |
ControlVariable & | operator= (const ControlVariable &) |
void | print (std::ostream &) const |
Private Attributes | |
State4D_ | state4d_ |
ModelAux_ | modbias_ |
ObsAuxCtrl_ | obsbias_ |
Control variable.
The control variable acts as a container for the inputs of the variational data assimilation cost functions in physical space. That includes the states at the start the assimilation window or of each sub-window but also additional variables such as model bias, VarBC coefficients, or other control variables for algorithms that use them. This is mostly a convenience class that is used to keep things together and reduce the number of arguments to be passed around.
Definition at line 40 of file ControlVariable.h.
|
private |
Definition at line 46 of file ControlVariable.h.
|
private |
Definition at line 47 of file ControlVariable.h.
|
private |
Definition at line 48 of file ControlVariable.h.
|
private |
Definition at line 49 of file ControlVariable.h.
oops::ControlVariable< MODEL >::ControlVariable | ( | const eckit::Configuration & | conf, |
const Variables & | vars, | ||
const Geometry_ & | resol | ||
) |
The arguments define the number of sub-windows and the resolution.
Definition at line 88 of file ControlVariable.h.
|
explicit |
Definition at line 100 of file ControlVariable.h.
oops::ControlVariable< MODEL >::~ControlVariable | ( | ) |
Definition at line 109 of file ControlVariable.h.
|
inlinestatic |
Definition at line 52 of file ControlVariable.h.
|
inline |
Get augmented model control variable.
Definition at line 69 of file ControlVariable.h.
|
inline |
Definition at line 70 of file ControlVariable.h.
double oops::ControlVariable< MODEL >::norm | ( | ) | const |
Definition at line 143 of file ControlVariable.h.
|
inline |
Get augmented observation control variable.
Definition at line 73 of file ControlVariable.h.
|
inline |
Definition at line 74 of file ControlVariable.h.
|
private |
|
private |
Definition at line 134 of file ControlVariable.h.
void oops::ControlVariable< MODEL >::read | ( | const eckit::Configuration & | config | ) |
I/O and diagnostics.
Definition at line 116 of file ControlVariable.h.
|
inline |
Get state control variable.
Definition at line 65 of file ControlVariable.h.
|
inline |
Definition at line 66 of file ControlVariable.h.
void oops::ControlVariable< MODEL >::write | ( | const eckit::Configuration & | config | ) | const |
Definition at line 125 of file ControlVariable.h.
|
private |
Definition at line 81 of file ControlVariable.h.
|
private |
Definition at line 82 of file ControlVariable.h.
|
private |
Definition at line 80 of file ControlVariable.h.