PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Namespaces | Functions
Array_helpers.hh File Reference
#include "pism/util/Grid.hh"

Go to the source code of this file.

Namespaces

 pism
 
 pism::array
 
 pism::array::details
 

Functions

template<class V >
void pism::array::details::add (const V &x, double alpha, const V &y, V &result, bool scatter=true)
 Computes result = x + alpha * y, where x, y, and z are 2D Arrays (scalar or vector). More...
 
template<class V >
void pism::array::details::copy (const V &input, V &result, bool scatter=true)