11 #ifndef OOPS_BASE_ACCUMULATOR_H_
12 #define OOPS_BASE_ACCUMULATOR_H_
16 #include "oops/util/DateTime.h"
22 template <
typename MODEL,
typename ACC,
typename FLDS>
class Accumulator :
public ACC {
26 const util::DateTime & vt)
27 : ACC(resol, vars, vt) {ACC::zero();}
29 : ACC(dx) {ACC::zero();}
32 void accumul(
const double & zz,
const FLDS & xx) {ACC::accumul(zz, xx);}
Geometry< MODEL > Geometry_
Accumulator(const Geometry_ &resol, const Variables &vars, const util::DateTime &vt)
Accumulator(const FLDS &dx)
void accumul(const double &zz, const FLDS &xx)
Geometry class used in oops; subclass of interface class interface::Geometry.
The namespace for the main oops code.