![]() |
OpenLB 1.7
|
implements a smooth triangle in 2D with an _epsilon sector More...
#include <smoothIndicatorF2D.h>
Public Member Functions | |
SmoothIndicatorTriangle2D (IndicatorEquiTriangle2D< S > &indPtr, S epsilon, S theta=0) | |
SmoothIndicatorTriangle2D (Vector< S, 2 >center, S radius, S epsilon, S theta=0) | |
IndicatorEquiTriangle2D< S > & | getIndicator () |
Vector< S, 2 > | surfaceNormal (const Vector< S, 2 > &pos, const S meshSize) override |
const S | signedDistance (const Vector< S, 2 > input) override |
bool | distance (S &distance, const Vector< S, 2 > &origin, const Vector< S, 2 > &direction, S precision, S pitch) override |
S | getArea () override |
Vector< S, 2 > | calcMofiAndMass (const S density) override |
implements a smooth triangle in 2D with an _epsilon sector
Definition at line 84 of file smoothIndicatorF2D.h.
olb::SmoothIndicatorTriangle2D< T, S, PARTICLE >::SmoothIndicatorTriangle2D | ( | IndicatorEquiTriangle2D< S > & | indPtr, |
S | epsilon, | ||
S | theta = 0 ) |
Definition at line 196 of file smoothIndicatorF2D.hh.
olb::SmoothIndicatorTriangle2D< T, S, PARTICLE >::SmoothIndicatorTriangle2D | ( | Vector< S, 2 > | center, |
S | radius, | ||
S | epsilon, | ||
S | theta = 0 ) |
Definition at line 201 of file smoothIndicatorF2D.hh.
References olb::util::degreeToRadian().
|
override |
Definition at line 233 of file smoothIndicatorF2D.hh.
References olb::util::sqrt().
|
override |
Definition at line 264 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 224 of file smoothIndicatorF2D.hh.
References olb::IndicatorEquiTriangle2D< S >::getRadius(), and olb::util::sqrt().
IndicatorEquiTriangle2D< S > & olb::SmoothIndicatorTriangle2D< T, S, PARTICLE >::getIndicator | ( | ) |
Definition at line 219 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 250 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 244 of file smoothIndicatorF2D.hh.