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

#include <tcoefficient.hpp>

Inheritance diagram for mfem::TConstantCoefficient< complex_t >:
[legend]
Collaboration diagram for mfem::TConstantCoefficient< complex_t >:
[legend]

Public Types

typedef complex_t complex_type
 

Public Member Functions

 TConstantCoefficient (complex_t val)
 
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) const
 

Public Attributes

complex_t value
 

Static Public Attributes

static const bool is_const = 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
 

Detailed Description

template<typename complex_t = double>
class mfem::TConstantCoefficient< complex_t >

Definition at line 38 of file tcoefficient.hpp.

Member Typedef Documentation

template<typename complex_t = double>
typedef complex_t mfem::TConstantCoefficient< complex_t >::complex_type

Definition at line 42 of file tcoefficient.hpp.

Constructor & Destructor Documentation

template<typename complex_t = double>
mfem::TConstantCoefficient< complex_t >::TConstantCoefficient ( complex_t  val)
inline

Definition at line 46 of file tcoefficient.hpp.

Member Function Documentation

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

Definition at line 52 of file tcoefficient.hpp.

Member Data Documentation

template<typename complex_t = double>
const bool mfem::TConstantCoefficient< complex_t >::is_const = true
static

Definition at line 41 of file tcoefficient.hpp.

template<typename complex_t = double>
complex_t mfem::TConstantCoefficient< complex_t >::value

Definition at line 44 of file tcoefficient.hpp.


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