OpenLB 1.7
|
Smoothing functional as in Evrard, Denner and van Wachem (2019). More...
#include <smoothingFunctionals3D.h>
Public Member Functions | |
vanWachemSmoothingFunctional (T kernelLength, UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, T radius, int nVoxelInterpPoints) | |
Constructor. | |
virtual bool | update (T physPosP[], int globic) override |
Public Member Functions inherited from olb::SmoothingFunctional< T, Lattice > | |
const std::deque< LatticePosAndWeight< T > > | getData () const |
int | getNvoxelInterpPoints () |
Protected Member Functions | |
virtual T | smoothingFunction (T delta) override |
The actual smoothing function. | |
void | updateContinuousPhaseFraction (T physPosP[], int globic) |
Updates _latticePosAndWeight with contribution from continuous phase fraction. To be called AFTER compute(...) where required. | |
Protected Member Functions inherited from olb::LinearAveragingSmoothingFunctional< T, Lattice > | |
LinearAveragingSmoothingFunctional (T kernelLength, UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, int nVoxelInterpPoints=2) | |
Constructor. | |
virtual T | compute (T physPosP[], T physPosL[]) override |
Returns the weight for smoothing. | |
Protected Member Functions inherited from olb::SmoothingFunctional< T, Lattice > | |
SmoothingFunctional (T kernelLength, UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, int nVoxelInterpPoints=2) | |
Constructor. | |
Protected Attributes | |
T | _radius |
Protected Attributes inherited from olb::SmoothingFunctional< T, Lattice > | |
T | _kernelLength |
UnitConverter< T, Lattice > & | _converter |
SuperLattice< T, Lattice > & | _sLattice |
std::deque< LatticePosAndWeight< T > > | _latticePosAndWeight |
int | _nVoxelInterpPoints |
Smoothing functional as in Evrard, Denner and van Wachem (2019).
Definition at line 123 of file smoothingFunctionals3D.h.
olb::vanWachemSmoothingFunctional< T, Lattice >::vanWachemSmoothingFunctional | ( | T | kernelLength, |
UnitConverter< T, Lattice > & | converter, | ||
SuperLattice< T, Lattice > & | sLattice, | ||
T | radius, | ||
int | nVoxelInterpPoints ) |
Constructor.
Definition at line 189 of file smoothingFunctionals3D.hh.
|
overrideprotectedvirtual |
The actual smoothing function.
Implements olb::SmoothingFunctional< T, Lattice >.
Definition at line 208 of file smoothingFunctionals3D.hh.
References olb::util::pow().
|
overridevirtual |
Reimplemented from olb::SmoothingFunctional< T, Lattice >.
Definition at line 196 of file smoothingFunctionals3D.hh.
|
protected |
Updates _latticePosAndWeight with contribution from continuous phase fraction. To be called AFTER compute(...) where required.
Definition at line 215 of file smoothingFunctionals3D.hh.
References olb::util::max(), olb::util::min(), and olb::util::pow().
|
protected |
Definition at line 135 of file smoothingFunctionals3D.h.