OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

correlationFunction< Type > Class Template Reference

Inheritance diagram for correlationFunction< Type >:
Collaboration diagram for correlationFunction< Type >:

List of all members.


Public Types

typedef pTraits< Type >::cmptType cmptType
 Component type.

Public Member Functions

 correlationFunction (const polyMesh &, const dictionary &, const label tZeroBufferSize)
 Construct from dictionary.
 correlationFunction (const polyMesh &, const label tZeroBufferSize, const scalar duration, const scalar sampleInterval, const scalar averagingInterval)
 Construct from components.
 ~correlationFunction ()
void calculateCorrelationFunction (const Field< Type > &)
void calculateCorrelationFunction (const Type &)
scalar integral () const
bool writeAveraged (Ostream &) const
const Field< Field< Type > > & tZeroBuffers () const
scalar duration () const
scalar sampleInterval () const
scalar averagingInterval () const
label sampleSteps () const
label measurandFieldSize () const

Static Public Attributes

static const char *const typeName

Friends

Ostream & operator (Ostream &, const correlationFunction< Type > &)

Detailed Description

template<class Type>
class Foam::correlationFunction< Type >

Source files

Definition at line 57 of file correlationFunction.H.


Member Typedef Documentation

Component type.

Reimplemented from bufferedAccumulator< scalar >.

Definition at line 88 of file correlationFunction.H.


Constructor & Destructor Documentation

correlationFunction ( const polyMesh &  mesh,
const dictionary &  cfDict,
const label  tZeroBufferSize 
) [inline]

Construct from dictionary.

Definition at line 73 of file correlationFunction.C.

correlationFunction ( const polyMesh &  mesh,
const label  tZeroBufferSize,
const scalar  duration,
const scalar  sampleInterval,
const scalar  averagingInterval 
) [inline]

Construct from components.

Definition at line 94 of file correlationFunction.C.

~correlationFunction (  )  [inline]

Definition at line 115 of file correlationFunction.C.


Member Function Documentation

void calculateCorrelationFunction ( const Field< Type > &  currentValues  )  [inline]

Definition at line 123 of file correlationFunction.C.

void calculateCorrelationFunction ( const Type &  currentValue  )  [inline]

Definition at line 175 of file correlationFunction.C.

Foam::scalar integral (  )  const [inline]

Definition at line 193 of file correlationFunction.C.

bool writeAveraged ( Ostream &  os  )  const [inline]

Definition at line 22 of file correlationFunctionIO.C.

References bufferedAccumulator< scalar >::averaged(), forAll, correlationFunction< Type >::sampleInterval(), and token::SPACE.

Here is the call graph for this function:

const Foam::Field< Foam::Field< Type > > & tZeroBuffers (  )  const [inline]

Definition at line 20 of file correlationFunctionI.H.

Foam::scalar duration (  )  const [inline]

Definition at line 27 of file correlationFunctionI.H.

Foam::scalar sampleInterval (  )  const [inline]

Definition at line 34 of file correlationFunctionI.H.

Referenced by correlationFunction< Type >::writeAveraged().

Here is the caller graph for this function:

Foam::scalar averagingInterval (  )  const [inline]

Definition at line 41 of file correlationFunctionI.H.

Foam::label sampleSteps (  )  const [inline]

Definition at line 48 of file correlationFunctionI.H.

Foam::label measurandFieldSize (  )  const [inline]

Definition at line 55 of file correlationFunctionI.H.


Friends And Related Function Documentation

Ostream& operator ( Ostream &  ,
const correlationFunction< Type > &   
) [friend]


Member Data Documentation

const char *const typeName [inline, static]

Reimplemented from bufferedAccumulator< scalar >.

Definition at line 93 of file correlationFunction.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd