OpenLB 1.7
|
Computes resulting lattice velocity of an object from translational and rotational velocity. More...
#include <analyticalF.h>
Public Member Functions | |
EccentricLatticeVelocityField (Vector< T, DESCRIPTOR::d > position, Vector< T, DESCRIPTOR::d > velocity, Vector< T, utilities::dimensions::convert< DESCRIPTOR::d >::rotation > angularVelocity, UnitConverter< T, DESCRIPTOR > const &converter) | |
bool | operator() (T output[], const S input[]) override |
has to be implemented for 'every' derived class | |
Public Member Functions inherited from olb::AnalyticalF< DESCRIPTOR::d, T, S > | |
AnalyticalF< D, T, S > & | operator- (AnalyticalF< D, T, S > &rhs) |
AnalyticalF< D, T, S > & | operator+ (AnalyticalF< D, T, S > &rhs) |
AnalyticalF< D, T, S > & | operator* (AnalyticalF< D, T, S > &rhs) |
AnalyticalF< D, T, S > & | operator/ (AnalyticalF< D, T, S > &rhs) |
Public Member Functions inherited from olb::GenericF< T, S > | |
virtual | ~GenericF ()=default |
int | getSourceDim () const |
read only access to member variable _m | |
int | getTargetDim () const |
read only access to member variable _n | |
std::string & | getName () |
read and write access to name | |
std::string const & | getName () const |
read only access to name | |
bool | operator() (T output[]) |
wrapper that call the pure virtual operator() (T output[], const S input[]) from above | |
bool | operator() (T output[], S input0) |
bool | operator() (T output[], S input0, S input1) |
bool | operator() (T output[], S input0, S input1, S input2) |
bool | operator() (T output[], S input0, S input1, S input2, S input3) |
Protected Attributes | |
Vector< T, DESCRIPTOR::d > | _position |
Vector< T, DESCRIPTOR::d > | _velocity |
Vector< T, utilities::dimensions::convert< DESCRIPTOR::d >::rotation > | _angularVelocity |
UnitConverter< T, DESCRIPTOR > const & | _converter |
Additional Inherited Members | |
Public Types inherited from olb::AnalyticalF< DESCRIPTOR::d, T, S > | |
using | identity_functor_type |
Public Types inherited from olb::GenericF< T, S > | |
using | targetType = T |
using | sourceType = S |
Public Attributes inherited from olb::GenericF< T, S > | |
std::shared_ptr< GenericF< T, S > > | _ptrCalcC |
memory management, frees resouces (calcClass) | |
Static Public Attributes inherited from olb::AnalyticalF< DESCRIPTOR::d, T, S > | |
static constexpr unsigned | dim |
Protected Member Functions inherited from olb::AnalyticalF< DESCRIPTOR::d, T, S > | |
AnalyticalF (int n) | |
Protected Member Functions inherited from olb::GenericF< T, S > | |
GenericF (int targetDim, int sourceDim) | |
Computes resulting lattice velocity of an object from translational and rotational velocity.
position | the rotation center |
velocity | translational velocity of the object - expected in lattice units |
angularVelocity | rotational velocity of the object - expected in lattice units |
converter | unit converter to convert to lattice velocity |
Definition at line 207 of file analyticalF.h.
olb::EccentricLatticeVelocityField< T, S, DESCRIPTOR >::EccentricLatticeVelocityField | ( | Vector< T, DESCRIPTOR::d > | position, |
Vector< T, DESCRIPTOR::d > | velocity, | ||
Vector< T, utilities::dimensions::convert< DESCRIPTOR::d >::rotation > | angularVelocity, | ||
UnitConverter< T, DESCRIPTOR > const & | converter ) |
Definition at line 285 of file analyticalF.hh.
References olb::GenericF< T, S >::getName().
|
overridevirtual |
has to be implemented for 'every' derived class
Implements olb::GenericF< T, S >.
Definition at line 300 of file analyticalF.hh.
References olb::util::calculateLocalVelocity().
|
protected |
Definition at line 211 of file analyticalF.h.
|
protected |
Definition at line 212 of file analyticalF.h.
|
protected |
Definition at line 209 of file analyticalF.h.
|
protected |
Definition at line 210 of file analyticalF.h.