OOPS
|
Increment Class: Difference between two states. More...
#include <CostJbState.h>
Public Member Functions | |
Increment (const Geometry_ &, const Variables &, const util::DateTime &) | |
Constructor, destructor. More... | |
Increment (const Geometry_ &, const Increment &) | |
Increment (const Increment &, const bool copy=true) | |
virtual | ~Increment () |
Increment_ & | increment () |
Interfacing. More... | |
const Increment_ & | increment () const |
void | diff (const State_ &, const State_ &) |
Interactions with State. More... | |
const util::DateTime | validTime () const |
Time. More... | |
void | updateTime (const util::Duration &dt) |
void | zero () |
Linear algebra operators. More... | |
void | zero (const util::DateTime &) |
void | ones () |
void | dirac (const eckit::Configuration &) |
Increment & | operator= (const Increment &) |
Increment & | operator+= (const Increment &) |
Increment & | operator-= (const Increment &) |
Increment & | operator*= (const double &) |
void | axpy (const double &, const Increment &, const bool check=true) |
double | dot_product_with (const Increment &) const |
void | schur_product_with (const Increment &) |
void | random () |
void | accumul (const double &, const State_ &) |
void | read (const eckit::Configuration &) |
I/O and diagnostics. More... | |
void | write (const eckit::Configuration &) const |
double | norm () const |
LocalIncrement | getLocal (const GeometryIterator_ &iter) const |
void | setLocal (const LocalIncrement &gp, const GeometryIterator_ &iter) |
Geometry_ | geometry () const |
Get geometry. More... | |
const Variables & | variables () const |
void | setAtlas (atlas::FieldSet *) const |
ATLAS FieldSet. More... | |
void | toAtlas (atlas::FieldSet *) const |
void | fromAtlas (atlas::FieldSet *) |
void | toAtlas () |
ATLAS fieldset. More... | |
atlas::FieldSet & | atlas () |
const atlas::FieldSet & | atlas () const |
size_t | serialSize () const override |
Serialize and deserialize. More... | |
void | serialize (std::vector< double > &) const override |
void | deserialize (const std::vector< double > &, size_t &) override |
void | shift_forward (const util::DateTime &) |
void | shift_backward (const util::DateTime &) |
const eckit::mpi::Comm & | timeComm () const |
Static Public Member Functions | |
static const std::string | classname () |
Private Types | |
typedef MODEL::Increment | Increment_ |
typedef Geometry< MODEL > | Geometry_ |
typedef GeometryIterator< MODEL > | GeometryIterator_ |
typedef State< MODEL > | State_ |
Private Member Functions | |
void | print (std::ostream &) const override |
Private Attributes | |
std::unique_ptr< Increment_ > | increment_ |
const Variables | variables_ |
const eckit::mpi::Comm & | commTime_ |
atlas::FieldSet | atlasFieldSet_ |
Increment Class: Difference between two states.
Some fields that are present in a State may not be present in an Increment.
Definition at line 27 of file CostJbState.h.
|
private |
Definition at line 51 of file oops/interface/Increment.h.
|
private |
Definition at line 52 of file oops/interface/Increment.h.
|
private |
Definition at line 50 of file oops/interface/Increment.h.
|
private |
Definition at line 53 of file oops/interface/Increment.h.
oops::Increment< MODEL >::Increment | ( | const Geometry_ & | resol, |
const Variables & | vars, | ||
const util::DateTime & | time | ||
) |
Constructor, destructor.
Definition at line 149 of file oops/interface/Increment.h.
oops::Increment< MODEL >::Increment | ( | const Geometry_ & | resol, |
const Increment< MODEL > & | other | ||
) |
Definition at line 162 of file oops/interface/Increment.h.
oops::Increment< MODEL >::Increment | ( | const Increment< MODEL > & | other, |
const bool | copy = true |
||
) |
Definition at line 174 of file oops/interface/Increment.h.
|
virtual |
Definition at line 186 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::accumul | ( | const double & | zz, |
const State_ & | xx | ||
) |
Definition at line 332 of file oops/interface/Increment.h.
|
inline |
Definition at line 109 of file oops/interface/Increment.h.
|
inline |
Definition at line 112 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::axpy | ( | const double & | zz, |
const Increment< MODEL > & | dx, | ||
const bool | check = true |
||
) |
Definition at line 290 of file oops/interface/Increment.h.
|
inlinestatic |
Definition at line 56 of file oops/interface/Increment.h.
|
override |
Definition at line 467 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::diff | ( | const State_ & | x1, |
const State_ & | x2 | ||
) |
Interactions with State.
Definition at line 196 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::dirac | ( | const eckit::Configuration & | config | ) |
Definition at line 236 of file oops/interface/Increment.h.
double oops::Increment< MODEL >::dot_product_with | ( | const Increment< MODEL > & | dx | ) | const |
Definition at line 300 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::fromAtlas | ( | atlas::FieldSet * | atlasFieldSet | ) |
Definition at line 428 of file oops/interface/Increment.h.
Geometry< MODEL > oops::Increment< MODEL >::geometry |
Get geometry.
Definition at line 397 of file oops/interface/Increment.h.
LocalIncrement oops::Increment< MODEL >::getLocal | ( | const GeometryIterator_ & | iter | ) | const |
Definition at line 342 of file oops/interface/Increment.h.
|
inline |
Interfacing.
Definition at line 65 of file oops/interface/Increment.h.
|
inline |
Definition at line 66 of file oops/interface/Increment.h.
double oops::Increment< MODEL >::norm |
Definition at line 383 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::ones |
Definition at line 226 of file oops/interface/Increment.h.
Increment< MODEL > & oops::Increment< MODEL >::operator*= | ( | const double & | zz | ) |
Definition at line 279 of file oops/interface/Increment.h.
Increment< MODEL > & oops::Increment< MODEL >::operator+= | ( | const Increment< MODEL > & | rhs | ) |
Definition at line 257 of file oops/interface/Increment.h.
Increment< MODEL > & oops::Increment< MODEL >::operator-= | ( | const Increment< MODEL > & | rhs | ) |
Definition at line 268 of file oops/interface/Increment.h.
Increment< MODEL > & oops::Increment< MODEL >::operator= | ( | const Increment< MODEL > & | rhs | ) |
Definition at line 246 of file oops/interface/Increment.h.
|
overrideprivate |
Definition at line 527 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::random |
Definition at line 322 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::read | ( | const eckit::Configuration & | conf | ) |
I/O and diagnostics.
Definition at line 363 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::schur_product_with | ( | const Increment< MODEL > & | dx | ) |
Definition at line 312 of file oops/interface/Increment.h.
|
override |
Definition at line 457 of file oops/interface/Increment.h.
|
override |
Serialize and deserialize.
Definition at line 448 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::setAtlas | ( | atlas::FieldSet * | atlasFieldSet | ) | const |
ATLAS FieldSet.
Definition at line 408 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::setLocal | ( | const LocalIncrement< MODEL > & | gp, |
const GeometryIterator_ & | iter | ||
) |
Definition at line 352 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::shift_backward | ( | const util::DateTime & | end | ) |
Definition at line 502 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::shift_forward | ( | const util::DateTime & | begin | ) |
Definition at line 477 of file oops/interface/Increment.h.
|
inline |
Definition at line 123 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::toAtlas |
ATLAS fieldset.
Definition at line 438 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::toAtlas | ( | atlas::FieldSet * | atlasFieldSet | ) | const |
Definition at line 418 of file oops/interface/Increment.h.
|
inline |
Definition at line 73 of file oops/interface/Increment.h.
|
inline |
Time.
Definition at line 72 of file oops/interface/Increment.h.
|
inline |
Definition at line 100 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::write | ( | const eckit::Configuration & | conf | ) | const |
Definition at line 373 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::zero |
Linear algebra operators.
Definition at line 206 of file oops/interface/Increment.h.
void oops::Increment< MODEL >::zero | ( | const util::DateTime & | tt | ) |
Definition at line 216 of file oops/interface/Increment.h.
|
private |
Definition at line 130 of file oops/interface/Increment.h.
|
private |
Definition at line 129 of file oops/interface/Increment.h.
|
private |
Definition at line 127 of file oops/interface/Increment.h.
|
private |
Definition at line 128 of file oops/interface/Increment.h.