Next: Examples
Up: PUGHReduce
Previous: Abstract
Contents
This thorn registers a number of reduction operators with the flesh. The
reductions are performed using internals of the PUGH driver, so that this
thorn can only be used when CactusPUGH/PUGH is active.
The reduction operations this thorn registers are
Reduction Operator |
Calculates |
By |
average , mean |
the average/mean of a grid variable |
|
count |
the number of grid points in a grid variable |
|
maximum |
the maximum of a grid variable |
|
minimum |
the minimum of a grid variable |
|
norm1, L1Norm |
the L1 norm of a grid variable |
|
norm2, L2Norm |
the L2 norm of a grid variable |
|
norm3, L3Norm |
the L3 norm of a grid variable |
|
norm4, L4Norm |
the L4 norm of a grid variable |
|
norm_inf, LinfNorm |
the Infinitity norm of a grid variable |
|
sum |
the sum of the elements of a grid variable |
|
Reduction operators with multiple names are just synonyms for the same kind of
reduction operation. In the formulas is the grid variable to be reduced,
and denotes the number of its elements. Reduction operators marked with
cannot be applied to grid variables of complex datatype.
Next: Examples
Up: PUGHReduce
Previous: Abstract
Contents
|