15 #include "oops/util/Logger.h"
26 oops::Log::trace() <<
"AnalyticInit::fillGeoVaLs " << std::endl;
27 const size_t nlocs = geovals.
size();
30 const double mean =
config_.getDouble(
"mean", 0.0);
31 for (
size_t jj = 0; jj < nlocs; ++jj) geovals[jj] = mean;
34 const double zz =
config_.getDouble(
"sinus");
35 for (
size_t jj = 0; jj < nlocs; ++jj)
36 geovals[jj] += zz * std::sin(2.0*M_PI*locs[jj]);
39 oops::Log::warning() <<
"Using default analytic init (all zeros)" << std::endl;
42 oops::Log::trace() <<
"GomL95::GomL95 analytic init finished" << std::endl;