OpenLB 1.7
|
#include <smoothIndicatorF2D.h>
Public Member Functions | |
SmoothIndicatorCustom2D (T latticeSpacing, std::shared_ptr< IndicatorF2D< T > > indPtr, Vector< T, 2 > pos, T epsilon, T theta=0.) | |
Vector< T, 2 > | getLocalCenter () |
S | getArea () override |
Vector< T, 2 > | calcMofiAndMass (T rhoP) override |
calculates and returns mofi and mass of the particle (mofi is at index 0 and mass at index 1) | |
Vector< S, 2 > | surfaceNormal (const Vector< S, 2 > &pos, const S meshSize) override |
const S | signedDistance (const Vector< S, 2 > input) override |
bool | regardCell (int input[2]) |
bool | operator() (T output[], const S input[]) override |
Definition at line 123 of file smoothIndicatorF2D.h.
olb::SmoothIndicatorCustom2D< T, S, PARTICLE >::SmoothIndicatorCustom2D | ( | T | latticeSpacing, |
std::shared_ptr< IndicatorF2D< T > > | indPtr, | ||
Vector< T, 2 > | pos, | ||
T | epsilon, | ||
T | theta = 0. ) |
Definition at line 283 of file smoothIndicatorF2D.hh.
References olb::util::degreeToRadian().
|
override |
calculates and returns mofi and mass of the particle (mofi is at index 0 and mass at index 1)
Definition at line 377 of file smoothIndicatorF2D.hh.
References olb::util::abs(), and olb::util::pow().
|
override |
Definition at line 370 of file smoothIndicatorF2D.hh.
Vector< T, 2 > olb::SmoothIndicatorCustom2D< T, S, PARTICLE >::getLocalCenter | ( | ) |
Definition at line 438 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 485 of file smoothIndicatorF2D.hh.
References olb::norm().
bool olb::SmoothIndicatorCustom2D< T, S, PARTICLE >::regardCell | ( | int | input[2] | ) |
Definition at line 479 of file smoothIndicatorF2D.hh.
|
override |
Definition at line 450 of file smoothIndicatorF2D.hh.
References olb::util::abs(), olb::Vector< T, D >::data(), olb::util::max(), olb::util::min(), olb::norm(), and olb::util::round().
|
override |
Definition at line 444 of file smoothIndicatorF2D.hh.