Function crpropa::meanFieldStrength(ref_ptr<Grid1f>)

Function Documentation

double crpropa::meanFieldStrength(ref_ptr<Grid1f> grid)

Evaluate the mean of all grid points.

Parameters

grid – a scalar grid (Grid1f)

Returns

The mean of all grid points