MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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 = real_t>
class mfem::TConstantCoefficient< complex_t >

Definition at line 38 of file tcoefficient.hpp.

Member Typedef Documentation

◆ complex_type

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

Definition at line 42 of file tcoefficient.hpp.

Constructor & Destructor Documentation

◆ TConstantCoefficient()

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

Definition at line 46 of file tcoefficient.hpp.

Member Function Documentation

◆ Eval()

template<typename complex_t = real_t>
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

◆ is_const

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

Definition at line 41 of file tcoefficient.hpp.

◆ value

template<typename complex_t = real_t>
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: