MFEM
v4.6.0
Finite element discretization library
|
#include <tcoefficient.hpp>
Public Types | |
typedef complex_t | complex_type |
Public Member Functions | |
TPiecewiseConstCoefficient (const Vector &constants) | |
Note: in the input array index i corresponds to mesh attribute i+1. More... | |
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_attributes = 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 | |
Vector | constants |
Piecewise constant coefficient class. The subdomains where the coefficient is constant are given by the mesh attributes.
Definition at line 167 of file tcoefficient.hpp.
typedef complex_t mfem::TPiecewiseConstCoefficient< complex_t >::complex_type |
Definition at line 171 of file tcoefficient.hpp.
|
inline |
Note: in the input array index i corresponds to mesh attribute i+1.
Definition at line 178 of file tcoefficient.hpp.
|
inline |
Definition at line 184 of file tcoefficient.hpp.
|
protected |
Definition at line 174 of file tcoefficient.hpp.
|
static |
Definition at line 170 of file tcoefficient.hpp.