MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
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

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

Definition at line 211 of file tcoefficient.hpp.

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

Definition at line 208 of file tcoefficient.hpp.

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

Definition at line 209 of file tcoefficient.hpp.

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

Definition at line 210 of file tcoefficient.hpp.

Constructor & Destructor Documentation

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.

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.

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.

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

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

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

Definition at line 214 of file tcoefficient.hpp.

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: