parallel_ode::CompactReduceStrategy Class Reference

#include <parallel_reduce.h>

Inheritance diagram for parallel_ode::CompactReduceStrategy:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CompactReduceStrategy ()
virtual ReduceType getType () const
 Virtual function indicating the type of strategy.
virtual void initialize (int bodySize, int maxBodyRepetitionCount, const IntVector &batchRepetitionCount)
 Virtual function that initializes the strategy. Essentially, this is where the strides/sizes are deteremined.
virtual ~CompactReduceStrategy ()

Detailed Description

Compact reduction strategy.

Repeated body entries within a batch are strided, e.g. AAAAAAAABBBBBBBBBCCCCCCCC and there is no padding between different bodies

Definition at line 162 of file parallel_reduce.h.


Constructor & Destructor Documentation

parallel_ode::CompactReduceStrategy::CompactReduceStrategy (  )  [inline]

Definition at line 167 of file parallel_reduce.h.

virtual parallel_ode::CompactReduceStrategy::~CompactReduceStrategy (  )  [inline, virtual]

Definition at line 168 of file parallel_reduce.h.


Member Function Documentation

virtual ReduceType parallel_ode::CompactReduceStrategy::getType (  )  const [inline, virtual]

Virtual function indicating the type of strategy.

Returns:
The type of strategy

Reimplemented from parallel_ode::ReduceStrategy.

Definition at line 171 of file parallel_reduce.h.

void parallel_ode::CompactReduceStrategy::initialize ( int  bodySize,
int  maxBodyRepetitionCount,
const IntVector batchRepetitionCount 
) [virtual]

Virtual function that initializes the strategy. Essentially, this is where the strides/sizes are deteremined.

Parameters:
bodySize The number of bodies
maxBodyRepetitionCount The maximum number of times a body is repeated for all batches
batchRepetitionCount The maximum number of times a body is repeated in each batch

Reimplemented from parallel_ode::ReduceStrategy.

Definition at line 41 of file parallel_reduce.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


parallel_quickstep
Author(s): Jared Duke
autogenerated on Fri Jan 11 09:59:43 2013