MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::TGridFunctionCoefficient< FieldEval > Class Template Reference

GridFunction coefficient class. More...

#include <tcoefficient.hpp>

Inheritance diagram for mfem::TGridFunctionCoefficient< FieldEval >:
[legend]
Collaboration diagram for mfem::TGridFunctionCoefficient< FieldEval >:
[legend]

Public Types

typedef FieldEval::FESpace_type FESpace_type
 
typedef FieldEval::ShapeEval_type ShapeEval_type
 
typedef FieldEval::VecLayout_type VecLayout_type
 
typedef FieldEval::complex_type complex_type
 

Public Member Functions

MFEM_ALWAYS_INLINE TGridFunctionCoefficient (const FieldEval &fE, const complex_type *data)
 
MFEM_ALWAYS_INLINE TGridFunctionCoefficient (const FESpace_type &tfes, const ShapeEval_type &shapeEval, const VecLayout_type &vec_layout, const complex_type *data)
 
MFEM_ALWAYS_INLINE TGridFunctionCoefficient (const FiniteElementSpace &fes, const complex_type *data)
 
MFEM_ALWAYS_INLINE TGridFunctionCoefficient (const GridFunction &func)
 
template<typename T_result_t , typename c_layout_t , typename c_data_t >
MFEM_ALWAYS_INLINE void Eval (const T_result_t &T, const c_layout_t &l, c_data_t &c)
 

Static Public Attributes

static const bool uses_element_idxs = true
 
- Static Public Attributes inherited from mfem::TCoefficient
static const int rank = 0
 
static const bool is_const = false
 
static const bool uses_coordinates = false
 
static const bool uses_Jacobians = false
 
static const bool uses_attributes = false
 
static const bool uses_element_idxs = false
 

Protected Attributes

FieldEval fieldEval
 

Detailed Description

template<typename FieldEval>
class mfem::TGridFunctionCoefficient< FieldEval >

GridFunction coefficient class.

Definition at line 203 of file tcoefficient.hpp.

Member Typedef Documentation

◆ complex_type

template<typename FieldEval >
typedef FieldEval::complex_type mfem::TGridFunctionCoefficient< FieldEval >::complex_type

Definition at line 211 of file tcoefficient.hpp.

◆ FESpace_type

template<typename FieldEval >
typedef FieldEval::FESpace_type mfem::TGridFunctionCoefficient< FieldEval >::FESpace_type

Definition at line 208 of file tcoefficient.hpp.

◆ ShapeEval_type

template<typename FieldEval >
typedef FieldEval::ShapeEval_type mfem::TGridFunctionCoefficient< FieldEval >::ShapeEval_type

Definition at line 209 of file tcoefficient.hpp.

◆ VecLayout_type

template<typename FieldEval >
typedef FieldEval::VecLayout_type mfem::TGridFunctionCoefficient< FieldEval >::VecLayout_type

Definition at line 210 of file tcoefficient.hpp.

Constructor & Destructor Documentation

◆ TGridFunctionCoefficient() [1/4]

template<typename FieldEval >
MFEM_ALWAYS_INLINE mfem::TGridFunctionCoefficient< FieldEval >::TGridFunctionCoefficient ( const FieldEval & fE,
const complex_type * data )
inline

Definition at line 219 of file tcoefficient.hpp.

◆ TGridFunctionCoefficient() [2/4]

template<typename FieldEval >
MFEM_ALWAYS_INLINE mfem::TGridFunctionCoefficient< FieldEval >::TGridFunctionCoefficient ( const FESpace_type & tfes,
const ShapeEval_type & shapeEval,
const VecLayout_type & vec_layout,
const complex_type * data )
inline

Definition at line 226 of file tcoefficient.hpp.

◆ TGridFunctionCoefficient() [3/4]

template<typename FieldEval >
MFEM_ALWAYS_INLINE mfem::TGridFunctionCoefficient< FieldEval >::TGridFunctionCoefficient ( const FiniteElementSpace & fes,
const complex_type * data )
inline

Definition at line 235 of file tcoefficient.hpp.

◆ TGridFunctionCoefficient() [4/4]

template<typename FieldEval >
MFEM_ALWAYS_INLINE mfem::TGridFunctionCoefficient< FieldEval >::TGridFunctionCoefficient ( const GridFunction & func)
inline

Definition at line 242 of file tcoefficient.hpp.

Member Function Documentation

◆ Eval()

template<typename FieldEval >
template<typename T_result_t , typename c_layout_t , typename c_data_t >
MFEM_ALWAYS_INLINE void mfem::TGridFunctionCoefficient< FieldEval >::Eval ( const T_result_t & T,
const c_layout_t & l,
c_data_t & c )
inline

Definition at line 250 of file tcoefficient.hpp.

Member Data Documentation

◆ fieldEval

template<typename FieldEval >
FieldEval mfem::TGridFunctionCoefficient< FieldEval >::fieldEval
protected

Definition at line 214 of file tcoefficient.hpp.

◆ uses_element_idxs

template<typename FieldEval >
const bool mfem::TGridFunctionCoefficient< FieldEval >::uses_element_idxs = true
static

Definition at line 206 of file tcoefficient.hpp.


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