MFEM  v4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
mfem::TFunctionCoefficient< Func, complex_t > Class Template Reference

#include <tcoefficient.hpp>

Inheritance diagram for mfem::TFunctionCoefficient< Func, complex_t >:
[legend]
Collaboration diagram for mfem::TFunctionCoefficient< Func, complex_t >:
[legend]

Classes

struct  Dim
 
struct  Dim< 1, dummy >
 
struct  Dim< 2, dummy >
 
struct  Dim< 3, dummy >
 

Public Types

typedef complex_t complex_type
 

Public Member Functions

 TFunctionCoefficient ()
 
 TFunctionCoefficient (Func &F_)
 
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_coordinates = 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

Func F
 

Detailed Description

template<typename Func, typename complex_t = double>
class mfem::TFunctionCoefficient< Func, complex_t >

Definition at line 66 of file tcoefficient.hpp.

Member Typedef Documentation

template<typename Func , typename complex_t = double>
typedef complex_t mfem::TFunctionCoefficient< Func, complex_t >::complex_type

Definition at line 70 of file tcoefficient.hpp.

Constructor & Destructor Documentation

template<typename Func , typename complex_t = double>
mfem::TFunctionCoefficient< Func, complex_t >::TFunctionCoefficient ( )
inline

Definition at line 130 of file tcoefficient.hpp.

template<typename Func , typename complex_t = double>
mfem::TFunctionCoefficient< Func, complex_t >::TFunctionCoefficient ( Func &  F_)
inline

Definition at line 132 of file tcoefficient.hpp.

Member Function Documentation

template<typename Func , typename complex_t = double>
template<typename T_result_t , typename c_layout_t , typename c_data_t >
MFEM_ALWAYS_INLINE void mfem::TFunctionCoefficient< Func, complex_t >::Eval ( const T_result_t &  T,
const c_layout_t &  l,
c_data_t &  c 
)
inline

Definition at line 137 of file tcoefficient.hpp.

Member Data Documentation

template<typename Func , typename complex_t = double>
Func mfem::TFunctionCoefficient< Func, complex_t >::F
protected

Definition at line 73 of file tcoefficient.hpp.

template<typename Func , typename complex_t = double>
const bool mfem::TFunctionCoefficient< Func, complex_t >::uses_coordinates = true
static

Definition at line 69 of file tcoefficient.hpp.


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