Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Array_helpers.hh File Reference
#include "pism/util/Grid.hh"
#include "pism/util/array/Array.hh"

Go to the source code of this file.

Namespaces

namespace  pism
 
namespace  pism::array
 
namespace  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).
 
template<class V >
void pism::array::details::copy (const V &input, V &result, bool scatter=true)