FV3 Bundle
|
Increment Class: Difference between two states. More...
#include <IncrementQG.h>
Public Member Functions | |
IncrementQG (const GeometryQG &, const oops::Variables &, const util::DateTime &) | |
Constructor, destructor. More... | |
IncrementQG (const GeometryQG &, const IncrementQG &) | |
IncrementQG (const IncrementQG &, const bool) | |
IncrementQG (const IncrementQG &) | |
virtual | ~IncrementQG () |
void | diff (const StateQG &, const StateQG &) |
Basic operators. More... | |
void | zero () |
void | zero (const util::DateTime &) |
IncrementQG & | operator= (const IncrementQG &) |
IncrementQG & | operator+= (const IncrementQG &) |
IncrementQG & | operator-= (const IncrementQG &) |
IncrementQG & | operator*= (const double &) |
void | axpy (const double &, const IncrementQG &, const bool check=true) |
double | dot_product_with (const IncrementQG &) const |
void | schur_product_with (const IncrementQG &) |
void | random () |
void | dirac (const eckit::Configuration &) |
void | getValuesTL (const LocationsQG &, const oops::Variables &, GomQG &, const Nothing &) const |
Get increment values at observation locations. More... | |
void | getValuesAD (const LocationsQG &, const oops::Variables &, const GomQG &, const Nothing &) |
void | read (const eckit::Configuration &) |
I/O and diagnostics. More... | |
void | write (const eckit::Configuration &) const |
double | norm () const |
const util::DateTime & | validTime () const |
util::DateTime & | validTime () |
void | updateTime (const util::Duration &dt) |
void | ug_coord (oops::UnstructuredGrid &, const int &) const |
Unstructured grid. More... | |
void | field_to_ug (oops::UnstructuredGrid &, const int &) const |
void | field_from_ug (const oops::UnstructuredGrid &) |
FieldsQG & | fields () |
Access to fields. More... | |
const FieldsQG & | fields () const |
boost::shared_ptr< const GeometryQG > | geometry () const |
void | accumul (const double &, const StateQG &) |
Other. More... | |
Public Member Functions inherited from oops::GeneralizedDepartures | |
GeneralizedDepartures () | |
virtual | ~GeneralizedDepartures () |
Static Public Member Functions | |
static const std::string | classname () |
Private Member Functions | |
void | print (std::ostream &) const |
Data. More... | |
Private Attributes | |
boost::scoped_ptr< FieldsQG > | fields_ |
boost::scoped_ptr< FieldsQG > | stash_ |
Increment Class: Difference between two states.
Some fields that are present in a State may not be present in an Increment. The Increment contains everything that is needed by the tangent-linear and adjoint models.
Definition at line 55 of file IncrementQG.h.
qg::IncrementQG::IncrementQG | ( | const GeometryQG & | resol, |
const oops::Variables & | vars, | ||
const util::DateTime & | vt | ||
) |
Constructor, destructor.
Definition at line 38 of file IncrementQG.cc.
qg::IncrementQG::IncrementQG | ( | const GeometryQG & | resol, |
const IncrementQG & | other | ||
) |
Definition at line 46 of file IncrementQG.cc.
qg::IncrementQG::IncrementQG | ( | const IncrementQG & | other, |
const bool | copy | ||
) |
Definition at line 52 of file IncrementQG.cc.
qg::IncrementQG::IncrementQG | ( | const IncrementQG & | other | ) |
Definition at line 58 of file IncrementQG.cc.
|
virtual |
Definition at line 64 of file IncrementQG.cc.
void qg::IncrementQG::accumul | ( | const double & | zz, |
const StateQG & | xx | ||
) |
void qg::IncrementQG::axpy | ( | const double & | zz, |
const IncrementQG & | dx, | ||
const bool | check = true |
||
) |
|
inlinestatic |
Definition at line 59 of file IncrementQG.h.
Basic operators.
Definition at line 70 of file IncrementQG.cc.
void qg::IncrementQG::dirac | ( | const eckit::Configuration & | config | ) |
Definition at line 131 of file IncrementQG.cc.
double qg::IncrementQG::dot_product_with | ( | const IncrementQG & | other | ) | const |
Definition at line 123 of file IncrementQG.cc.
void qg::IncrementQG::field_from_ug | ( | const oops::UnstructuredGrid & | ug | ) |
Definition at line 157 of file IncrementQG.cc.
void qg::IncrementQG::field_to_ug | ( | oops::UnstructuredGrid & | ug, |
const int & | colocated | ||
) | const |
Definition at line 153 of file IncrementQG.cc.
|
inline |
Access to fields.
Definition at line 102 of file IncrementQG.h.
|
inline |
Definition at line 103 of file IncrementQG.h.
|
inline |
Definition at line 105 of file IncrementQG.h.
void qg::IncrementQG::getValuesAD | ( | const LocationsQG & | locs, |
const oops::Variables & | vars, | ||
const GomQG & | cols, | ||
const Nothing & | |||
) |
Definition at line 142 of file IncrementQG.cc.
void qg::IncrementQG::getValuesTL | ( | const LocationsQG & | locs, |
const oops::Variables & | vars, | ||
GomQG & | cols, | ||
const Nothing & | |||
) | const |
Get increment values at observation locations.
Definition at line 137 of file IncrementQG.cc.
|
inline |
Definition at line 91 of file IncrementQG.h.
IncrementQG & qg::IncrementQG::operator*= | ( | const double & | zz | ) |
Definition at line 96 of file IncrementQG.cc.
IncrementQG & qg::IncrementQG::operator+= | ( | const IncrementQG & | dx | ) |
IncrementQG & qg::IncrementQG::operator-= | ( | const IncrementQG & | dx | ) |
IncrementQG & qg::IncrementQG::operator= | ( | const IncrementQG & | rhs | ) |
Definition at line 79 of file IncrementQG.cc.
|
private |
void qg::IncrementQG::random | ( | ) |
Definition at line 127 of file IncrementQG.cc.
void qg::IncrementQG::read | ( | const eckit::Configuration & | files | ) |
I/O and diagnostics.
Definition at line 163 of file IncrementQG.cc.
void qg::IncrementQG::schur_product_with | ( | const IncrementQG & | dx | ) |
Definition at line 119 of file IncrementQG.cc.
void qg::IncrementQG::ug_coord | ( | oops::UnstructuredGrid & | ug, |
const int & | colocated | ||
) | const |
Unstructured grid.
Definition at line 149 of file IncrementQG.cc.
|
inline |
|
inline |
|
inline |
Definition at line 93 of file IncrementQG.h.
void qg::IncrementQG::write | ( | const eckit::Configuration & | files | ) | const |
Definition at line 167 of file IncrementQG.cc.
void qg::IncrementQG::zero | ( | ) |
Definition at line 101 of file IncrementQG.cc.
void qg::IncrementQG::zero | ( | const util::DateTime & | vt | ) |
Definition at line 105 of file IncrementQG.cc.
|
private |
Definition at line 115 of file IncrementQG.h.
|
private |
Definition at line 116 of file IncrementQG.h.