11 #ifndef QG_MODEL_LOCATIONSQG_H_ 12 #define QG_MODEL_LOCATIONSQG_H_ 19 #include "oops/util/ObjectCounter.h" 20 #include "oops/util/Printable.h" 27 private util::ObjectCounter<LocationsQG> {
29 static const std::string
classname() {
return "qg::LocationsQG";}
45 void print(std::ostream & os)
const {
49 std::vector<double> xyz(3);
51 for (
size_t jj=0; jj < static_cast<size_t>(
nobs); ++jj) {
53 os <<
"loc " << jj << std::setprecision(2) <<
": x = " << xyz[0]
54 <<
", y = " << xyz[1] <<
", z = " << xyz[2] << std::endl;
62 #endif // QG_MODEL_LOCATIONSQG_H_ void qg_loc_element_f90(const F90locs &, const int &, double *)
void qg_loc_delete_f90(F90locs &)
LocationsQG(const F90locs key)
void print(std::ostream &os) const
void qg_loc_nobs_f90(const F90locs &, int &)
LocationsQG class to handle locations for QG model.
static const std::string classname()
The namespace for the qg model.