MFEM  v4.6.0
Finite element discretization library
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
mfem::TMassKernel< SDim, Dim, complex_t > Struct Template Reference

Mass kernel. More...

#include <tbilininteg.hpp>

Classes

struct  CoefficientEval
 
struct  f_asm_data
 Partially assembled data type for one element with the given number of quadrature points. This type is used in full element matrix assembly. More...
 
struct  p_asm_data
 Partially assembled data type for one element with the given number of quadrature points. This type is used in partial assembly, and partially assembled action. More...
 

Public Types

typedef complex_t complex_type
 

Static Public Member Functions

template<typename T_result_t , typename Q_t , typename q_t , typename S_data_t >
static MFEM_ALWAYS_INLINE void Action (const int k, const T_result_t &F, const Q_t &Q, const q_t &q, S_data_t &R)
 Method used for un-assembled (matrix free) action. More...
 
template<typename T_result_t , typename Q_t , typename q_t , int qpts>
static MFEM_ALWAYS_INLINE void Assemble (const int k, const T_result_t &F, const Q_t &Q, const q_t &q, TVector< qpts, complex_t > &A)
 Method defining partial assembly. Result in A is the quadrature-point dependent part of element matrix assembly (as opposed to part that is same for all elements), A = w det(J) More...
 
template<int qpts, typename S_data_t >
static MFEM_ALWAYS_INLINE void MultAssembled (const int k, const TVector< qpts, complex_t > &A, S_data_t &R)
 Method for partially assembled action. More...
 

Static Public Attributes

static const bool uses_Jacobians = true
 Needed for the TElementTransformation::Result class. More...
 
Needed for the FieldEvaluator::Data class
static const bool in_values = true
 
static const bool in_gradients = false
 
static const bool out_values = true
 
static const bool out_gradients = false
 

Detailed Description

template<int SDim, int Dim, typename complex_t>
struct mfem::TMassKernel< SDim, Dim, complex_t >

Mass kernel.

Definition at line 42 of file tbilininteg.hpp.

Member Typedef Documentation

◆ complex_type

template<int SDim, int Dim, typename complex_t >
typedef complex_t mfem::TMassKernel< SDim, Dim, complex_t >::complex_type

Definition at line 44 of file tbilininteg.hpp.

Member Function Documentation

◆ Action()

template<int SDim, int Dim, typename complex_t >
template<typename T_result_t , typename Q_t , typename q_t , typename S_data_t >
static MFEM_ALWAYS_INLINE void mfem::TMassKernel< SDim, Dim, complex_t >::Action ( const int  k,
const T_result_t &  F,
const Q_t &  Q,
const q_t &  q,
S_data_t &  R 
)
inlinestatic

Method used for un-assembled (matrix free) action.

Parameters
kthe element number
FJt [M x Dim x SDim x NE] - Jacobian transposed, data member in F
QCoefficientEval<>::Type
qCoefficientEval<>::Type::result_t
Rval_qpts [M x NC x NE] - in/out data member in R val_qpts *= w det(J)

Definition at line 85 of file tbilininteg.hpp.

◆ Assemble()

template<int SDim, int Dim, typename complex_t >
template<typename T_result_t , typename Q_t , typename q_t , int qpts>
static MFEM_ALWAYS_INLINE void mfem::TMassKernel< SDim, Dim, complex_t >::Assemble ( const int  k,
const T_result_t &  F,
const Q_t &  Q,
const q_t &  q,
TVector< qpts, complex_t > &  A 
)
inlinestatic

Method defining partial assembly. Result in A is the quadrature-point dependent part of element matrix assembly (as opposed to part that is same for all elements), A = w det(J)

Parameters
kthe element number
FJt [M x Dim x SDim x NE] - Jacobian transposed, data member in F
QCoefficientEval<>::Type
qCoefficientEval<>::Type::result_t
A[M] - partially assembled scalars

Definition at line 117 of file tbilininteg.hpp.

◆ MultAssembled()

template<int SDim, int Dim, typename complex_t >
template<int qpts, typename S_data_t >
static MFEM_ALWAYS_INLINE void mfem::TMassKernel< SDim, Dim, complex_t >::MultAssembled ( const int  k,
const TVector< qpts, complex_t > &  A,
S_data_t &  R 
)
inlinestatic

Method for partially assembled action.

Parameters
kthe element number
A[M] - partially assembled scalars
Rval_qpts [M x NC x NE] - in/out data member in R val_qpts *= A

Definition at line 139 of file tbilininteg.hpp.

Member Data Documentation

◆ in_gradients

template<int SDim, int Dim, typename complex_t >
const bool mfem::TMassKernel< SDim, Dim, complex_t >::in_gradients = false
static

Definition at line 52 of file tbilininteg.hpp.

◆ in_values

template<int SDim, int Dim, typename complex_t >
const bool mfem::TMassKernel< SDim, Dim, complex_t >::in_values = true
static

Definition at line 51 of file tbilininteg.hpp.

◆ out_gradients

template<int SDim, int Dim, typename complex_t >
const bool mfem::TMassKernel< SDim, Dim, complex_t >::out_gradients = false
static

Definition at line 54 of file tbilininteg.hpp.

◆ out_values

template<int SDim, int Dim, typename complex_t >
const bool mfem::TMassKernel< SDim, Dim, complex_t >::out_values = true
static

Definition at line 53 of file tbilininteg.hpp.

◆ uses_Jacobians

template<int SDim, int Dim, typename complex_t >
const bool mfem::TMassKernel< SDim, Dim, complex_t >::uses_Jacobians = true
static

Needed for the TElementTransformation::Result class.

Definition at line 47 of file tbilininteg.hpp.


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