23 #include "pism/util/array/Scalar.hh"
24 #include "pism/util/array/Vector.hh"
25 #include "pism/util/array/Staggered.hh"
49 UNO(std::shared_ptr<const Grid> grid,
UNOType type);
55 bool nonnegative =
false);
void compute_interface_fluxes(const array::CellType1 &cell_type, const array::Vector1 &velocity, const array::Scalar2 &x_old, double dt, array::Staggered &result) const
const array::Scalar & x() const
void update(double dt, const array::CellType1 &cell_type, const array::Scalar &x, const array::Vector &velocity, bool nonnegative=false)
double(* MidFluxApproximation)(const double *, const double *, size_t, double, double, double)
MidFluxApproximation m_approx
array::Staggered1 m_q_limited
array::Scalar2 m_x_ghosted
array::Vector1 m_v_ghosted
UNO(std::shared_ptr< const Grid > grid, UNOType type)
A class for storing and accessing internal staggered-grid 2D fields. Uses dof=2 storage....