OpenLB 1.7
|
implements a smooth cuboid in 2D with an _epsilon sector. More...
#include <smoothIndicatorF2D.h>
Public Member Functions | |
SmoothIndicatorCuboid2D (IndicatorCuboid2D< S > &ind, S epsilon, S theta=0) | |
SmoothIndicatorCuboid2D (Vector< S, 2 >center, S xLength, S yLength, S epsilon, S theta=0) | |
IndicatorCuboid2D< 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 cuboid in 2D with an _epsilon sector.
mass | TODO |
epsilon | |
theta | TODO |
Definition at line 52 of file smoothIndicatorF2D.h.
olb::SmoothIndicatorCuboid2D< T, S, PARTICLE >::SmoothIndicatorCuboid2D | ( | IndicatorCuboid2D< S > & | ind, |
S | epsilon, | ||
S | theta = 0 ) |
Definition at line 41 of file smoothIndicatorF2D.hh.
olb::SmoothIndicatorCuboid2D< T, S, PARTICLE >::SmoothIndicatorCuboid2D | ( | Vector< S, 2 > | center, |
S | xLength, | ||
S | yLength, | ||
S | epsilon, | ||
S | theta = 0 ) |
Definition at line 46 of file smoothIndicatorF2D.hh.
References olb::util::degreeToRadian(), olb::util::pow(), and olb::util::sqrt().
|
override |
Definition at line 81 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 111 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 75 of file smoothIndicatorF2D.hh.
References olb::IndicatorCuboid2D< S >::getxLength().
IndicatorCuboid2D< S > & olb::SmoothIndicatorCuboid2D< T, S, PARTICLE >::getIndicator | ( | ) |
Definition at line 70 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 97 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 91 of file smoothIndicatorF2D.hh.