changa 3.5
Loading...
Searching...
No Matches
Reductions.cpp File Reference
#include "Reductions.h"
#include "OrientedBox.h"
#include "dumpframe.h"
#include "collision.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)
 
CkReductionMsg * soonestCollInfo (int nMsg, CkReductionMsg **msgs)
 
CkReductionMsg * singleCollInfo (int nMsg, CkReductionMsg **msgs)
 
void registerReductions ()
 

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
 
CkReduction::reducerType soonestCollReduction
 
CkReduction::reducerType findCollReduction
 

Function Documentation

◆ dfImageReducer()

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

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

◆ max_count_reduce()

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).