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

IndicSmoothCalc3D //////////////////////////////// arithmetic helper class for Indicator 3d functors. More...

#include <smoothIndicatorCalcF3D.h>

+ Inheritance diagram for olb::SmoothIndicCalc3D< T, S >:
+ Collaboration diagram for olb::SmoothIndicCalc3D< T, S >:

Public Member Functions

 SmoothIndicCalc3D (SmoothIndicatorF3D< T, S > &f, SmoothIndicatorF3D< T, S > &g)
 

Protected Attributes

SmoothIndicatorF3D< T, S > & _f
 
SmoothIndicatorF3D< T, S > & _g
 

Detailed Description

template<typename T, typename S>
class olb::SmoothIndicCalc3D< T, S >

IndicSmoothCalc3D //////////////////////////////// arithmetic helper class for Indicator 3d functors.

Definition at line 36 of file smoothIndicatorCalcF3D.h.

Constructor & Destructor Documentation

◆ SmoothIndicCalc3D()

template<typename T , typename S >
olb::SmoothIndicCalc3D< T, S >::SmoothIndicCalc3D ( SmoothIndicatorF3D< T, S > & f,
SmoothIndicatorF3D< T, S > & g )

Definition at line 34 of file smoothIndicatorCalcF3D.hh.

35 : _f(f), _g(g)
36{
37 for ( int i=0; i<3; i++) {
38 this->_myMin[i] = util::min(f.getMin()[i], g.getMin()[i]);
39 this->_myMax[i] = util::max(f.getMax()[i], g.getMax()[i]);
40 }
41 std::swap(f._ptrCalcC, this->_ptrCalcC);
42}
SmoothIndicatorF3D< T, S > & _g
SmoothIndicatorF3D< T, S > & _f
cpu::simd::Pack< T > min(cpu::simd::Pack< T > rhs, cpu::simd::Pack< T > lhs)
Definition pack.h:124
cpu::simd::Pack< T > max(cpu::simd::Pack< T > rhs, cpu::simd::Pack< T > lhs)
Definition pack.h:130

References olb::util::max(), and olb::util::min().

+ Here is the call graph for this function:

Member Data Documentation

◆ _f

template<typename T , typename S >
SmoothIndicatorF3D<T,S>& olb::SmoothIndicCalc3D< T, S >::_f
protected

Definition at line 38 of file smoothIndicatorCalcF3D.h.

◆ _g

template<typename T , typename S >
SmoothIndicatorF3D<T,S>& olb::SmoothIndicCalc3D< T, S >::_g
protected

Definition at line 39 of file smoothIndicatorCalcF3D.h.


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