MaMiCo 1.2
Loading...
Searching...
No Matches
coupling::filtering::Strouhal< dim > Class Template Reference

#include <Strouhal.h>

Inheritance diagram for coupling::filtering::Strouhal< dim >:
Collaboration diagram for coupling::filtering::Strouhal< dim >:

Public Member Functions

 Strouhal (const std::vector< coupling::datastructures::CouplingCell< dim > * > &inputCellVector, const std::vector< coupling::datastructures::CouplingCell< dim > * > &outputCellVector, const std::vector< tarch::la::Vector< dim, unsigned int > > cellIndices, std::array< bool, 7 > filteredValues, double u, double d)
void operator() ()
Public Member Functions inherited from coupling::filtering::FilterInterfaceReadOnly< dim >
 FilterInterfaceReadOnly (const std::vector< coupling::datastructures::CouplingCell< dim > * > &inputCellVector, const std::vector< coupling::datastructures::CouplingCell< dim > * > &outputCellVector, const std::array< bool, 7 > filteredValues, const char *type)
Public Member Functions inherited from coupling::filtering::FilterInterface< dim >
 FilterInterface (const std::vector< coupling::datastructures::CouplingCell< dim > * > &inputCellVector, const std::vector< coupling::datastructures::CouplingCell< dim > * > &outputCellVector, const std::array< bool, 7 > filteredValues, const char *type)
 FilterInterface (const char *type)
void updateCellData (const std::vector< coupling::datastructures::CouplingCell< dim > * > &new_inputCells, const std::vector< coupling::datastructures::CouplingCell< dim > * > &new_outputCells)
const char * getType () const
std::vector< coupling::datastructures::CouplingCell< dim > * > getInputCells () const
std::vector< coupling::datastructures::CouplingCell< dim > * > getOutputCells () const
coupling::datastructures::CouplingCell< dim > * getInputCellOfIndex (const CellIndex_T &index)
coupling::datastructures::CouplingCell< dim > * getOutputCellOfIndex (const CellIndex_T &index)
void setInputCells (const std::vector< coupling::datastructures::CouplingCell< dim > * > &newInputCells)
int getSize () const

Private Member Functions

double calculateStrouhalNumber ()

Private Attributes

std::vector< double > _v_y
double _U
double _D

Additional Inherited Members

Public Types inherited from coupling::filtering::FilterInterface< dim >
using CellIndex_T
Protected Member Functions inherited from coupling::filtering::FilterInterfaceReadOnly< dim >
void copyInputToOutput ()
Protected Attributes inherited from coupling::filtering::FilterInterface< dim >
std::vector< coupling::datastructures::CouplingCell< dim > * > _inputCells
std::vector< coupling::datastructures::CouplingCell< dim > * > _outputCells
std::vector< ScalarAccessFunctionPair_scalarAccessFunctionPairs
std::vector< VectorAccessFunctionPair_vectorAccessFunctionPairs
const char * _type

Detailed Description

template<unsigned int dim>
class coupling::filtering::Strouhal< dim >

Implements a read-only filter evaluating given input velocity data to approximate a Strouhal number in y-direction. As an alternative to this, Numpy-compatible implementations of FFT can be linked into a FS using FilterFromFunction. Fourier transformations are expected to yield more accurate results.

Author
Felix Maurer

Member Function Documentation

◆ operator()()

template<unsigned int dim>
void coupling::filtering::Strouhal< dim >::operator() ( )
virtual

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