changa  3.5
 All Classes Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Functions | Variables
Reductions.cpp File Reference
#include "Reductions.h"
#include "OrientedBox.h"
#include "dumpframe.h"
#include "Reductions.def.h"

Functions

template<typename T >
CkReductionMsg * boxGrowth (int nMsg, CkReductionMsg **msgs)
 Combine reduction messages to grow a box.
 
template<typename T >
CkReductionMsg * minmax (int nMsg, CkReductionMsg **msgs)
 Combine reduction messages to get min/max pair.
 
CkReductionMsg * max_count_reduce (int nMsg, CkReductionMsg **msgs)
 
template<typename T >
CkReductionMsg * same (int nMsg, CkReductionMsg **msgs)
 Return a single object, given many copies of it.
 
CkReductionMsg * dfImageReducer (int nMsg, CkReductionMsg **msgs)
 
void registerReductions ()
 Create custom reducers in the charm runtime.
 

Variables

CkReduction::reducerType growOrientedBox_float
 
CkReduction::reducerType growOrientedBox_double
 
CkReduction::reducerType minmax_int
 
CkReduction::reducerType minmax_long
 
CkReduction::reducerType minmax_float
 
CkReduction::reducerType minmax_double
 
CkReduction::reducerType max_count
 
CkReduction::reducerType callbackReduction
 
CkReduction::reducerType boxReduction
 
CkReduction::reducerType dfImageReduction
 

Function Documentation

CkReductionMsg* dfImageReducer ( int  nMsg,
CkReductionMsg **  msgs 
)

Merge images for DumpFrame Messages consist of a struct inDumpFrame header followed by the image data.

CkReductionMsg* max_count_reduce ( int  nMsg,
CkReductionMsg **  msgs 
)

Reduction for determining both the maximum timestep rung (iMaxRung) and the number of particles in that rung (nMaxRung).