PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::Reduction< Vec3f > Class Reference

#include <Reduction.h>

Collaboration diagram for dyno::Reduction< Vec3f >:

Public Member Functions

 Reduction ()
 
 ~Reduction ()
 
Vec3f accumulate (const Vec3f *val, const uint num)
 
Vec3f maximum (const Vec3f *val, const uint num)
 
Vec3f minimum (const Vec3f *val, const uint num)
 
Vec3f average (const Vec3f *val, const uint num)
 
 Reduction ()
 
 ~Reduction ()
 
Vec3f accumulate (const Vec3f *val, const uint num)
 
Vec3f maximum (const Vec3f *val, const uint num)
 
Vec3f minimum (const Vec3f *val, const uint num)
 
Vec3f average (const Vec3f *val, const uint num)
 

Static Public Member Functions

static ReductionCreate (const uint n)
 
static ReductionCreate (const uint n)
 

Private Member Functions

void allocAuxiliaryArray (const uint num)
 
 Reduction (const uint num)
 
void allocAuxiliaryArray (const uint num)
 
uint getAuxiliaryArraySize (const uint n)
 

Private Attributes

uint m_num
 
float * m_aux
 
Reduction< float > m_reduce_float
 
uint m_num
 
Vec3fm_aux
 
uint m_auxNum
 

Detailed Description

Definition at line 38 of file Reduction.h.

Constructor & Destructor Documentation

◆ Reduction() [1/3]

dyno::Reduction< Vec3f >::Reduction ( )
Here is the caller graph for this function:

◆ ~Reduction() [1/2]

◆ Reduction() [2/3]

dyno::Reduction< Vec3f >::Reduction ( )

◆ Reduction() [3/3]

dyno::Reduction< Vec3f >::Reduction ( const uint num)
private

◆ ~Reduction() [2/2]

Member Function Documentation

◆ accumulate() [1/2]

Vec3f dyno::Reduction< Vec3f >::accumulate ( const Vec3f * val,
const uint num )

◆ accumulate() [2/2]

Vec3f dyno::Reduction< Vec3f >::accumulate ( const Vec3f * val,
const uint num )

◆ allocAuxiliaryArray() [1/2]

void dyno::Reduction< Vec3f >::allocAuxiliaryArray ( const uint num)
private

◆ allocAuxiliaryArray() [2/2]

void dyno::Reduction< Vec3f >::allocAuxiliaryArray ( const uint num)
private

◆ average() [1/2]

Vec3f dyno::Reduction< Vec3f >::average ( const Vec3f * val,
const uint num )

◆ average() [2/2]

Vec3f dyno::Reduction< Vec3f >::average ( const Vec3f * val,
const uint num )

◆ Create() [1/2]

static Reduction * dyno::Reduction< Vec3f >::Create ( const uint n)
static

◆ Create() [2/2]

static Reduction * dyno::Reduction< Vec3f >::Create ( const uint n)
static
Here is the call graph for this function:

◆ getAuxiliaryArraySize()

uint dyno::Reduction< Vec3f >::getAuxiliaryArraySize ( const uint n)
private

◆ maximum() [1/2]

Vec3f dyno::Reduction< Vec3f >::maximum ( const Vec3f * val,
const uint num )

◆ maximum() [2/2]

Vec3f dyno::Reduction< Vec3f >::maximum ( const Vec3f * val,
const uint num )

◆ minimum() [1/2]

Vec3f dyno::Reduction< Vec3f >::minimum ( const Vec3f * val,
const uint num )

◆ minimum() [2/2]

Vec3f dyno::Reduction< Vec3f >::minimum ( const Vec3f * val,
const uint num )

Member Data Documentation

◆ m_aux [1/2]

Vec3f* dyno::Reduction< Vec3f >::m_aux
private

Definition at line 33 of file Reduction.h.

◆ m_aux [2/2]

float* dyno::Reduction< Vec3f >::m_aux
private

Definition at line 60 of file Reduction.h.

◆ m_auxNum

uint dyno::Reduction< Vec3f >::m_auxNum
private

Definition at line 34 of file Reduction.h.

◆ m_num [1/2]

uint dyno::Reduction< Vec3f >::m_num
private

Definition at line 31 of file Reduction.h.

◆ m_num [2/2]

uint dyno::Reduction< Vec3f >::m_num
private

Definition at line 58 of file Reduction.h.

◆ m_reduce_float

Reduction<float> dyno::Reduction< Vec3f >::m_reduce_float
private

Definition at line 61 of file Reduction.h.


The documentation for this class was generated from the following file: