Function crpropa::meanFieldStrength(ref_ptr<Grid3f>)

Function Documentation

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

Evaluate the mean of all grid points.

Parameters

grid – a vector grid (Grid3f)

Returns

The mean of all grid points