DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Geom::Elem::Quadrature Struct Reference

#include <Quadrature.hpp>

Collaboration diagram for DNDS::Geom::Elem::Quadrature:
[legend]

Public Member Functions

DNDS_DEVICE_CALLABLE Quadrature (Element n_elem=Element{UnknownElem}, int n_int_order=0)
 
template<class TAcc , class TFunc >
DNDS_DEVICE_CALLABLE void Integration (TAcc &buf, TFunc &&f)
 General integration method with shape function access.
 
template<class TAcc , class TFunc >
DNDS_DEVICE_CALLABLE std::enable_if_t< std::is_invocable_v< TFunc, TAcc &, int > > IntegrationSimple (TAcc &buf, TFunc &&f)
 Simple integration without shape function access.
 
template<class TAcc , class TFunc >
DNDS_DEVICE_CALLABLE std::enable_if_t< std::is_invocable_v< TFunc, TAcc &, int, real > > IntegrationSimple (TAcc &buf, TFunc &&f)
 Simple integration with weight access.
 
DNDS_DEVICE_CALLABLE auto GetQuadraturePointInfo (int iG) const
 
DNDS_DEVICE_CALLABLE real GetWeight (int iG) const
 
DNDS_DEVICE_CALLABLE t_index GetNumPoints () const
 

Public Attributes

Element elem
 
int int_order
 
ParamSpace ps = UnknownPSpace
 
t_index int_scheme = 0
 

Detailed Description

Definition at line 96 of file Quadrature.hpp.

Constructor & Destructor Documentation

◆ Quadrature()

DNDS_DEVICE_CALLABLE DNDS::Geom::Elem::Quadrature::Quadrature ( Element  n_elem = Element{UnknownElem},
int  n_int_order = 0 
)
inline

Definition at line 103 of file Quadrature.hpp.

Member Function Documentation

◆ GetNumPoints()

DNDS_DEVICE_CALLABLE t_index DNDS::Geom::Elem::Quadrature::GetNumPoints ( ) const
inline

Definition at line 176 of file Quadrature.hpp.

Here is the caller graph for this function:

◆ GetQuadraturePointInfo()

DNDS_DEVICE_CALLABLE auto DNDS::Geom::Elem::Quadrature::GetQuadraturePointInfo ( int  iG) const
inline

Definition at line 163 of file Quadrature.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetWeight()

DNDS_DEVICE_CALLABLE real DNDS::Geom::Elem::Quadrature::GetWeight ( int  iG) const
inline

Definition at line 171 of file Quadrature.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Integration()

template<class TAcc , class TFunc >
DNDS_DEVICE_CALLABLE void DNDS::Geom::Elem::Quadrature::Integration ( TAcc &  buf,
TFunc &&  f 
)
inline

General integration method with shape function access.

Parameters
fCallback: f(TAcc& acc, int iG, tPoint pParam, tD01Nj D01Nj)

Definition at line 114 of file Quadrature.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IntegrationSimple() [1/2]

template<class TAcc , class TFunc >
DNDS_DEVICE_CALLABLE std::enable_if_t< std::is_invocable_v< TFunc, TAcc &, int > > DNDS::Geom::Elem::Quadrature::IntegrationSimple ( TAcc &  buf,
TFunc &&  f 
)
inline

Simple integration without shape function access.

Parameters
fCallback: f(TAcc& acc, int iG)

Definition at line 132 of file Quadrature.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IntegrationSimple() [2/2]

template<class TAcc , class TFunc >
DNDS_DEVICE_CALLABLE std::enable_if_t< std::is_invocable_v< TFunc, TAcc &, int, real > > DNDS::Geom::Elem::Quadrature::IntegrationSimple ( TAcc &  buf,
TFunc &&  f 
)
inline

Simple integration with weight access.

Parameters
fCallback: f(TAcc& acc, int iG, real w)

Definition at line 150 of file Quadrature.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ elem

Element DNDS::Geom::Elem::Quadrature::elem

Definition at line 98 of file Quadrature.hpp.

◆ int_order

int DNDS::Geom::Elem::Quadrature::int_order

Definition at line 99 of file Quadrature.hpp.

◆ int_scheme

t_index DNDS::Geom::Elem::Quadrature::int_scheme = 0

Definition at line 101 of file Quadrature.hpp.

◆ ps

ParamSpace DNDS::Geom::Elem::Quadrature::ps = UnknownPSpace

Definition at line 100 of file Quadrature.hpp.


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