#include <cmath>
#include "pism/util/array/Array2D.hh"
Go to the source code of this file.
|
double | pism::array::diff_x (const array::Scalar &array, int i, int j) |
| Returns the x-derivative at i,j approximated using centered finite differences. More...
|
|
double | pism::array::diff_y (const array::Scalar &array, int i, int j) |
| Returns the y-derivative at i,j approximated using centered finite differences. More...
|
|
double | pism::array::diff_x_p (const array::Scalar &array, int i, int j) |
| Returns the x-derivative at i,j approximated using centered finite differences. Respects grid periodicity and uses one-sided FD at grid edges if necessary. More...
|
|
double | pism::array::diff_y_p (const array::Scalar &array, int i, int j) |
| Returns the y-derivative at i,j approximated using centered finite differences. Respects grid periodicity and uses one-sided FD at grid edges if necessary. More...
|
|
double | pism::array::sum (const array::Scalar &input) |
| Sums up all the values in an array::Scalar object. Ignores ghosts. More...
|
|
double | pism::array::min (const array::Scalar &input) |
| Finds minimum over all the values in an array::Scalar object. Ignores ghosts. More...
|
|
double | pism::array::max (const array::Scalar &input) |
| Finds maximum over all the values in an array::Scalar object. Ignores ghosts. More...
|
|
double | pism::array::absmax (const array::Scalar &input) |
| Finds maximum over all the absolute values in an array::Scalar object. Ignores ghosts. More...
|
|
void | pism::array::apply_mask (const array::Scalar &M, double fill, array::Scalar &result) |
| Masks out all the areas where \( M \le 0 \) by setting them to fill . More...
|
|