PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
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)