OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
olb::StepSmoothingFunctional< T, Lattice > Class Template Reference

Stepwise smoothing functional. More...

#include <smoothingFunctionals3D.h>

+ Inheritance diagram for olb::StepSmoothingFunctional< T, Lattice >:
+ Collaboration diagram for olb::StepSmoothingFunctional< T, Lattice >:

Public Member Functions

 StepSmoothingFunctional (T kernelLength, UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice)
 Constructor.
 
- Public Member Functions inherited from olb::SmoothingFunctional< T, Lattice >
virtual bool update (T physPosP[], int globic)
 
const std::deque< LatticePosAndWeight< T > > getData () const
 
int getNvoxelInterpPoints ()
 

Protected Member Functions

virtual T smoothingFunction (T delta) override
 The actual smoothing function.
 
- Protected Member Functions inherited from olb::VolumeAveragingSmoothingFunctional< T, Lattice >
 VolumeAveragingSmoothingFunctional (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.
 

Additional Inherited Members

- Protected Attributes inherited from olb::SmoothingFunctional< T, Lattice >
_kernelLength
 
UnitConverter< T, Lattice > & _converter
 
SuperLattice< T, Lattice > & _sLattice
 
std::deque< LatticePosAndWeight< T > > _latticePosAndWeight
 
int _nVoxelInterpPoints
 

Detailed Description

template<typename T, typename Lattice>
class olb::StepSmoothingFunctional< T, Lattice >

Stepwise smoothing functional.

Definition at line 141 of file smoothingFunctionals3D.h.

Constructor & Destructor Documentation

◆ StepSmoothingFunctional()

template<typename T , typename Lattice >
olb::StepSmoothingFunctional< T, Lattice >::StepSmoothingFunctional ( T kernelLength,
UnitConverter< T, Lattice > & converter,
SuperLattice< T, Lattice > & sLattice )

Constructor.

Definition at line 272 of file smoothingFunctionals3D.hh.

274 : VolumeAveragingSmoothingFunctional<T, Lattice>(kernelLength, converter, sLattice)
275{}

Member Function Documentation

◆ smoothingFunction()

template<typename T , typename Lattice >
T olb::StepSmoothingFunctional< T, Lattice >::smoothingFunction ( T delta)
overrideprotectedvirtual

The actual smoothing function.

Implements olb::SmoothingFunctional< T, Lattice >.

Definition at line 278 of file smoothingFunctionals3D.hh.

279{
280 return 1.;
281}

The documentation for this class was generated from the following files: