MFEM v4.7.0
Finite element discretization library
|
Function coefficient. More...
#include <tcoefficient.hpp>
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 () | |
Constructor for the case when Func has no data members. | |
TFunctionCoefficient (Func &F_) | |
Constructor for the case when Func has data members. | |
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 |
Function coefficient.
Func | has to implement at least one of the following methods, depending on the dimension that will be used: complex_t Eval1D(real_t); complex_t Eval2D(real_t,real_t); complex_t Eval3D(real_t,real_t,real_t); Use MFEM_FLOPS_ADD() to count flops inside Eval*D. |
Definition at line 67 of file tcoefficient.hpp.
typedef complex_t mfem::TFunctionCoefficient< Func, complex_t >::complex_type |
Definition at line 71 of file tcoefficient.hpp.
|
inline |
Constructor for the case when Func has no data members.
Definition at line 144 of file tcoefficient.hpp.
|
inline |
Constructor for the case when Func has data members.
Definition at line 146 of file tcoefficient.hpp.
|
inline |
Definition at line 151 of file tcoefficient.hpp.
|
protected |
Definition at line 74 of file tcoefficient.hpp.
|
static |
Definition at line 70 of file tcoefficient.hpp.