SOCA model state.
More...
#include <State.h>
|
void | print (std::ostream &) const override |
|
SOCA model state.
A State contains everything that is needed to propagate the state forward in time.
Definition at line 46 of file State.h.
◆ State() [1/4]
soca::State::State |
( |
const Geometry & |
geom, |
|
|
const oops::Variables & |
vars, |
|
|
const util::DateTime & |
vt |
|
) |
| |
Constructor, destructor.
Definition at line 33 of file State.cc.
◆ State() [2/4]
soca::State::State |
( |
const Geometry & |
geom, |
|
|
const eckit::Configuration & |
file |
|
) |
| |
◆ State() [3/4]
soca::State::State |
( |
const Geometry & |
geom, |
|
|
const State & |
other |
|
) |
| |
◆ State() [4/4]
soca::State::State |
( |
const State & |
other | ) |
|
◆ ~State()
◆ accumul()
void soca::State::accumul |
( |
const double & |
zz, |
|
|
const State & |
xx |
|
) |
| |
◆ classname()
static const std::string soca::State::classname |
( |
| ) |
|
|
inlinestatic |
◆ deserialize()
void soca::State::deserialize |
( |
const std::vector< double > & |
vect, |
|
|
size_t & |
index |
|
) |
| |
|
override |
◆ expontrans()
void soca::State::expontrans |
( |
const oops::Variables & |
trvar | ) |
const |
◆ geometry()
std::shared_ptr< const Geometry > soca::State::geometry |
( |
| ) |
const |
◆ logtrans()
void soca::State::logtrans |
( |
const oops::Variables & |
trvar | ) |
const |
Logarithmic and exponential transformations.
Definition at line 205 of file State.cc.
◆ norm()
double soca::State::norm |
( |
| ) |
const |
◆ operator+=()
◆ operator=()
State & soca::State::operator= |
( |
const State & |
rhs | ) |
|
Basic operators.
Definition at line 76 of file State.cc.
◆ print()
void soca::State::print |
( |
std::ostream & |
os | ) |
const |
|
overrideprivate |
◆ read()
void soca::State::read |
( |
const eckit::Configuration & |
files | ) |
|
I/O and diagnostics.
Definition at line 112 of file State.cc.
◆ rotate2grid()
void soca::State::rotate2grid |
( |
const oops::Variables & |
u, |
|
|
const oops::Variables & |
v |
|
) |
| const |
◆ rotate2north()
void soca::State::rotate2north |
( |
const oops::Variables & |
u, |
|
|
const oops::Variables & |
v |
|
) |
| const |
Rotations.
Definition at line 84 of file State.cc.
◆ serialize()
void soca::State::serialize |
( |
std::vector< double > & |
vect | ) |
const |
|
override |
◆ serialSize()
size_t soca::State::serialSize |
( |
| ) |
const |
|
override |
Serialize and deserialize.
Serialization.
Definition at line 143 of file State.cc.
◆ toFortran() [1/2]
int& soca::State::toFortran |
( |
| ) |
|
|
inline |
◆ toFortran() [2/2]
const int& soca::State::toFortran |
( |
| ) |
const |
|
inline |
◆ updateTime()
void soca::State::updateTime |
( |
const util::Duration & |
dt | ) |
|
|
inline |
Needed by PseudoModel.
Definition at line 62 of file State.h.
◆ validTime() [1/2]
util::DateTime & soca::State::validTime |
( |
| ) |
|
◆ validTime() [2/2]
const util::DateTime & soca::State::validTime |
( |
| ) |
const |
◆ variables()
const oops::Variables& soca::State::variables |
( |
| ) |
const |
|
inline |
◆ write()
void soca::State::write |
( |
const eckit::Configuration & |
files | ) |
const |
◆ zero()
void soca::State::zero |
( |
| ) |
|
Other.
For accumulator.
Definition at line 189 of file State.cc.
◆ geom_
std::shared_ptr<const Geometry> soca::State::geom_ |
|
private |
◆ keyFlds_
◆ time_
util::DateTime soca::State::time_ |
|
private |
◆ vars_
oops::Variables soca::State::vars_ |
|
private |
The documentation for this class was generated from the following files: