8 #ifndef IODA_OBSVECTOR_H_ 9 #define IODA_OBSVECTOR_H_ 16 #include "oops/util/ObjectCounter.h" 17 #include "oops/util/Printable.h" 32 private util::ObjectCounter<ObsVector> {
34 static const std::string
classname() {
return "ioda::ObsVector";}
55 unsigned int nobs()
const;
61 void read(
const std::string &);
62 void save(
const std::string &)
const;
65 void print(std::ostream &)
const;
77 #endif // IODA_OBSVECTOR_H_ void axpy(const double &, const ObsVector &)
void read(const std::string &)
unsigned int nobs() const
ObsVector class to handle vectors in observation space for IODA.
std::vector< double > values_
Vector data.
void save(const std::string &) const
subroutine, public copy(self, rhs)
const double & toFortran() const
ObsVector & operator+=(const ObsVector &)
Wrapper around ObsHelpQG, mostly to hide the factory.
ObsVector & operator=(const ObsVector &)
ObsVector & operator*=(const double &)
const ObsSpace & obsdb_
Associate ObsSpace object.
ObsVector & operator-=(const ObsVector &)
ObsVector(const ObsSpace &)
double dot_product_with(const ObsVector &) const
void print(std::ostream &) const
static const std::string classname()
ObsVector & operator/=(const ObsVector &)