20 #ifndef PISM_MPDATA_2D_H
21 #define PISM_MPDATA_2D_H
23 #include "pism/util/array/Scalar.hh"
24 #include "pism/util/array/Vector.hh"
25 #include "pism/util/array/Staggered.hh"
37 MPDATA2(std::shared_ptr<const Grid> grid,
int N);
43 bool nonoscillatory =
false);
array::Vector1 m_v_ghosted
array::Staggered1 m_v_old
const array::Scalar & x() const
MPDATA2(std::shared_ptr< const Grid > grid, int N)
array::Scalar2 m_x_previous
void update(double dt, const array::CellType &cell_type, const array::Scalar &x, const array::Vector &velocity, bool nonoscillatory=false)
"Cell type" mask. Adds convenience methods to array::Scalar.