OpenLB 1.7
|
SmoothIndicatorF2D is an application from . More...
#include <smoothIndicatorBaseF2D.h>
Public Member Functions | |
void | init () |
const Vector< S, 2 > & | getMin () const |
const Vector< S, 2 > & | getMax () const |
const Vector< S, 2 > & | getPos () const |
const Vector< S, 4 > & | getRotationMatrix () const |
const S & | getCircumRadius () const |
const S & | getTheta () const |
const S & | getEpsilon () const |
std::string | name () |
void | setPos (Vector< S, 2 > pos) |
void | setTheta (S theta) |
void | setEpsilon (S epsilon) |
virtual S | getArea () |
virtual Vector< S, 2 > | calcMofiAndMass (S density) |
virtual Vector< S, 2 > | surfaceNormal (const Vector< S, 2 > &pos, const S meshSize) |
virtual Vector< S, 2 > | surfaceNormal (const Vector< S, 2 > &pos, const S meshSize, std::function< Vector< S, 2 >(const Vector< S, 2 > &)> transformPos) |
virtual const S | signedDistance (const PhysR< T, 2 > input) |
virtual bool | distance (S &distance, const Vector< S, 2 > &origin, const Vector< S, 2 > &direction, S precision, S pitch) |
virtual bool | operator() (T output[], const S input[]) |
has to be implemented for 'every' derived class | |
bool | isInsideCircumRadius (const PhysR< S, 2 > &input) |
SmoothIndicatorF2D< T, S, false > & | operator+ (SmoothIndicatorF2D< T, S, false > &rhs) |
Public Member Functions inherited from olb::AnalyticalF< 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 Member Functions | |
SmoothIndicatorF2D () | |
Protected Member Functions inherited from olb::AnalyticalF< D, T, S > | |
AnalyticalF (int n) | |
Protected Member Functions inherited from olb::GenericF< T, S > | |
GenericF (int targetDim, int sourceDim) | |
Protected Attributes | |
Vector< S, 2 > | _myMin |
Vector< S, 2 > | _myMax |
Vector< S, 2 > | _pos |
Vector< S, 4 > | _rotMat |
S | _circumRadius |
S | _theta |
S | _epsilon |
std::string | _name = "smoothIndicator2D" |
Additional Inherited Members | |
Public Types inherited from olb::AnalyticalF< D, T, S > | |
using | identity_functor_type = AnalyticalIdentity<D,T,S> |
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< D, T, S > | |
static constexpr unsigned | dim = D |
SmoothIndicatorF2D is an application from .
_myMin | holds minimal(component wise) vector of the domain . |
_myMax | holds maximal(component wise) vector of the domain . |
_center | |
_diam |
Definition at line 46 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 35 of file smoothIndicatorBaseF2D.hh.
|
virtual |
Definition at line 122 of file smoothIndicatorBaseF2D.hh.
|
virtual |
Definition at line 155 of file smoothIndicatorBaseF2D.hh.
References olb::norm().
|
virtual |
Definition at line 114 of file smoothIndicatorBaseF2D.hh.
const S & olb::SmoothIndicatorF2D< T, S, false >::getCircumRadius | ( | ) | const |
Definition at line 71 of file smoothIndicatorBaseF2D.hh.
const S & olb::SmoothIndicatorF2D< T, S, false >::getEpsilon | ( | ) | const |
Definition at line 83 of file smoothIndicatorBaseF2D.hh.
const Vector< S, 2 > & olb::SmoothIndicatorF2D< T, S, false >::getMax | ( | ) | const |
Definition at line 53 of file smoothIndicatorBaseF2D.hh.
const Vector< S, 2 > & olb::SmoothIndicatorF2D< T, S, false >::getMin | ( | ) | const |
Definition at line 47 of file smoothIndicatorBaseF2D.hh.
const Vector< S, 2 > & olb::SmoothIndicatorF2D< T, S, false >::getPos | ( | ) | const |
Definition at line 59 of file smoothIndicatorBaseF2D.hh.
const Vector< S, 4 > & olb::SmoothIndicatorF2D< T, S, false >::getRotationMatrix | ( | ) | const |
Definition at line 65 of file smoothIndicatorBaseF2D.hh.
const S & olb::SmoothIndicatorF2D< T, S, false >::getTheta | ( | ) | const |
Definition at line 77 of file smoothIndicatorBaseF2D.hh.
void olb::SmoothIndicatorF2D< T, S, false >::init | ( | ) |
Definition at line 41 of file smoothIndicatorBaseF2D.hh.
bool olb::SmoothIndicatorF2D< T, S, false >::isInsideCircumRadius | ( | const PhysR< S, 2 > & | input | ) |
Definition at line 209 of file smoothIndicatorBaseF2D.hh.
References olb::norm().
std::string olb::SmoothIndicatorF2D< T, S, false >::name | ( | ) |
Definition at line 89 of file smoothIndicatorBaseF2D.hh.
|
virtual |
has to be implemented for 'every' derived class
Implements olb::GenericF< T, S >.
Reimplemented in olb::SmoothIndicatorIdentity2D< T, S >.
Definition at line 202 of file smoothIndicatorBaseF2D.hh.
References olb::sdf::evalSolidVolumeFraction().
SmoothIndicatorF2D< T, S, false > & olb::SmoothIndicatorF2D< T, S, false >::operator+ | ( | SmoothIndicatorF2D< T, S, false > & | rhs | ) |
void olb::SmoothIndicatorF2D< T, S, false >::setEpsilon | ( | S | epsilon | ) |
Definition at line 108 of file smoothIndicatorBaseF2D.hh.
void olb::SmoothIndicatorF2D< T, S, false >::setPos | ( | Vector< S, 2 > | pos | ) |
Definition at line 95 of file smoothIndicatorBaseF2D.hh.
void olb::SmoothIndicatorF2D< T, S, false >::setTheta | ( | S | theta | ) |
Definition at line 101 of file smoothIndicatorBaseF2D.hh.
|
virtual |
Definition at line 147 of file smoothIndicatorBaseF2D.hh.
|
virtual |
Definition at line 130 of file smoothIndicatorBaseF2D.hh.
|
virtual |
Definition at line 138 of file smoothIndicatorBaseF2D.hh.
References olb::util::surfaceNormal().
|
protected |
Definition at line 53 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 55 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 50 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 49 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 56 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 51 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 52 of file smoothIndicatorBaseF2D.h.
|
protected |
Definition at line 54 of file smoothIndicatorBaseF2D.h.