src/ufo/GeoVaLs.cc
void GeoVaLs::putAtLevel(const std::vector<int> & vals,
                         const std::string & var,
                         const int lev) const {
  oops::Log::trace() << "GeoVaLs::putAtLevel(int) starting" << std::endl;
  size_t nlocs;
  ufo_geovals_nlocs_f90(keyGVL_, nlocs);
  ASSERT(vals.size() == nlocs);
  std::vector<double> doublevals(vals.begin(), vals.end());
  ufo_geovals_putdouble_f90(keyGVL_, var.size(), var.c_str(), lev, nlocs, doublevals[0]);
  oops::Log::trace() << "GeoVaLs::putAtLevel(int) done" << std::endl;
}
// -----------------------------------------------------------------------------
/*! \brief Put int values for a specific variable and level */
\brief Put int values for a specific variable and level
\ brief Put int values for a specific variable and level
void GeoVaLs::putAtLevel(const std::vector<int> & vals,
                         const std::string & var,
                         const int lev) const {
  oops::Log::trace() << "GeoVaLs::putAtLevel(int) starting" << std::endl;
  size_t nlocs;
  ufo_geovals_nlocs_f90(keyGVL_, nlocs);
  ASSERT(vals.size() == nlocs);
  std::vector<double> doublevals(vals.begin(), vals.end());
  ufo_geovals_putdouble_f90(keyGVL_, var.size(), var.c_str(), lev, nlocs, doublevals[0]);
  oops::Log::trace() << "GeoVaLs::putAtLevel(int) done" << std::endl;
}
void GeoVaLs :: putAtLevel ( const std :: vector < int > & vals , const std :: string & var , const int lev ) const { oops :: Log :: trace ( ) << " " << std :: endl ; size_t nlocs ; ufo_geovals_nlocs_f90 ( keyGVL_ , nlocs ) ; ASSERT ( vals . size ( ) == nlocs ) ; std :: vector < double > doublevals ( vals . begin ( ) , vals . end ( ) ) ; ufo_geovals_putdouble_f90 ( keyGVL_ , var . size ( ) , var . c_str ( ) , lev , nlocs , doublevals [ 0 ] ) ; oops :: Log :: trace ( ) << " " << std :: endl ; }
\brief Put int values for a specific variable and level
\ brief Put int values for a specific variable and level