Go to the documentation of this file.
8 #ifndef OOPS_BASE_LOCALINCREMENT_H_
9 #define OOPS_BASE_LOCALINCREMENT_H_
15 #include "oops/util/Printable.h"
22 std::vector<double> vals,
23 std::vector<int> varlens)
28 void setVals(std::vector<double> &);
37 void print(std::ostream & os)
const {
38 os <<
"LocalIncrement, size: " <<
vals_.size() <<
", first element: "
39 <<
vals_[0] << std::endl; }
47 #endif // OOPS_BASE_LOCALINCREMENT_H_
The namespace for the main oops code.
void setVals(std::vector< double > &)
LocalIncrement & operator+=(const LocalIncrement &)
Linear algebra operators.
LocalIncrement(const oops::Variables vars, std::vector< double > vals, std::vector< int > varlens)
const oops::Variables & getVars() const
const oops::Variables vars_
std::vector< double > vals_
LocalIncrement & operator*=(const double &)
void print(std::ostream &os) const
const std::vector< int > varlens_
const std::vector< double > & getVals() const