Class TempLat::RadialProjectionSingleQuantity
template <typename T>
ClassList > TempLat > RadialProjectionSingleQuantity
A class which holds properties of a quantity (average, variance, min, max), each in a separate vector. Useful during the integration, will be transposed after the integration is done. More...
#include <radialprojectionsinglequantity.h>
Public Functions
| Type | Name |
|---|---|
| RadialProjectionSingleQuantity (device::Idx size) |
|
| DEVICE_FUNCTION void | add_device (device::Idx i, const T & value, const T & weight) const Add one new weighted value to the collection of properties. |
| void | clear () |
| void | finalize (MPICommReference comm) This is why we keep stuff in vectors, sum up all the results from all processes in an easy way: vectors of the same things and same size just add up. |
| RadialProjectionSingleDatum< T > | getFinal (device::Idx i, const T & multiplicity) to be called only after finalize, returning the normalized result, this time transposed: all info per bin, instead of all bins per info. |
| void | pull () |
| void | push () |
| size_t | size () const |
Detailed Description
Unit test: ctest -R test-radialprojectionsinglequantity
Public Functions Documentation
function RadialProjectionSingleQuantity
function add_device
Add one new weighted value to the collection of properties.
inline DEVICE_FUNCTION void TempLat::RadialProjectionSingleQuantity::add_device (
device::Idx i,
const T & value,
const T & weight
) const
function clear
function finalize
This is why we keep stuff in vectors, sum up all the results from all processes in an easy way: vectors of the same things and same size just add up.
function getFinal
to be called only after finalize, returning the normalized result, this time transposed: all info per bin, instead of all bins per info.
inline RadialProjectionSingleDatum < T > TempLat::RadialProjectionSingleQuantity::getFinal (
device::Idx i,
const T & multiplicity
)
function pull
function push
function size
Friends Documentation
friend RadialProjectionResult
template<typename S>
class TempLat::RadialProjectionSingleQuantity::RadialProjectionResult (
RadialProjectionResult
)
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/measuringtools/projectionhelpers/radialprojectionsinglequantity.h