MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
Filter< nDim > Class Template Reference

Filter object for source terms. More...

#include <filter.h>

Collaboration diagram for Filter< nDim >:
[legend]

Public Member Functions

 Filter (const MInt solverId)
 
void init ()
 Initializes the filter. Read all properties and set the filter function. More...
 
MFloat filter (const MFloat *const point) const
 
void filter (const MFloat *const points, const MInt count, MFloat *const values)
 
MString name () const
 

Private Types

enum class  FilterType {
  cossphere , linearsphere , coscylinderzaxis , cosbox ,
  linearbox , cosmultibox , linearmultibox
}
 

Private Attributes

const MInt m_solverId = -1
 
FilterType m_filterId
 
std::array< MFloat, nDim > m_filterRegionMin {}
 
std::array< MFloat, nDim > m_filterRegionMax {}
 
std::array< MFloat, nDim > m_filterCenter {}
 
MFloat m_filterRadius = -1.0
 
MFloat m_filterSlopeWidth = -1.0
 
std::array< MFloat, 2 *nDim > m_filterSlopeWidthMultiBox {}
 
MBool m_isInitialized = false
 

Detailed Description

template<MInt nDim>
class Filter< nDim >
Author
Marcus Wiens (marcus) m.wie.nosp@m.ns@a.nosp@m.ia.rw.nosp@m.th-a.nosp@m.achen.nosp@m..de
Date
2016-07-16

Definition at line 171 of file filter.h.

Member Enumeration Documentation

◆ FilterType

template<MInt nDim>
enum class Filter::FilterType
strongprivate
Enumerator
cossphere 
linearsphere 
coscylinderzaxis 
cosbox 
linearbox 
cosmultibox 
linearmultibox 

Definition at line 185 of file filter.h.

Constructor & Destructor Documentation

◆ Filter()

template<MInt nDim>
Filter< nDim >::Filter ( const MInt  solverId)
inline

Definition at line 173 of file filter.h.

173: m_solverId(solverId) {}
const MInt m_solverId
Definition: filter.h:182

Member Function Documentation

◆ filter() [1/2]

template<MInt nDim>
MFloat Filter< nDim >::filter ( const MFloat *const  point) const

◆ filter() [2/2]

template<MInt nDim>
void Filter< nDim >::filter ( const MFloat *const  points,
const MInt  count,
MFloat *const  values 
)

◆ init()

template<MInt nDim>
void Filter< nDim >::init ( )
Author
Marcus Wiens (marcus) m.wie.nosp@m.ns@a.nosp@m.ia.rw.nosp@m.th-a.nosp@m.achen.nosp@m..de
Date
2016-07-16

◆ name()

template<MInt nDim>
MString Filter< nDim >::name ( ) const

Member Data Documentation

◆ m_filterCenter

template<MInt nDim>
std::array<MFloat, nDim> Filter< nDim >::m_filterCenter {}
private

Definition at line 194 of file filter.h.

◆ m_filterId

template<MInt nDim>
FilterType Filter< nDim >::m_filterId
private

Definition at line 188 of file filter.h.

◆ m_filterRadius

template<MInt nDim>
MFloat Filter< nDim >::m_filterRadius = -1.0
private

Definition at line 196 of file filter.h.

◆ m_filterRegionMax

template<MInt nDim>
std::array<MFloat, nDim> Filter< nDim >::m_filterRegionMax {}
private

Definition at line 192 of file filter.h.

◆ m_filterRegionMin

template<MInt nDim>
std::array<MFloat, nDim> Filter< nDim >::m_filterRegionMin {}
private

Definition at line 190 of file filter.h.

◆ m_filterSlopeWidth

template<MInt nDim>
MFloat Filter< nDim >::m_filterSlopeWidth = -1.0
private

Definition at line 198 of file filter.h.

◆ m_filterSlopeWidthMultiBox

template<MInt nDim>
std::array<MFloat, 2 * nDim> Filter< nDim >::m_filterSlopeWidthMultiBox {}
private

Definition at line 200 of file filter.h.

◆ m_isInitialized

template<MInt nDim>
MBool Filter< nDim >::m_isInitialized = false
private

Definition at line 202 of file filter.h.

◆ m_solverId

template<MInt nDim>
const MInt Filter< nDim >::m_solverId = -1
private

Definition at line 182 of file filter.h.


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