Represents integral data, containing the kernel, and a list of entities to integrate over and the indicies of the coefficient functions (relative to the Form) active for this integral.
More...
#include <Form.h>
|
|
std::function< void(T *, const T *, const T *, const U *, const int *, const uint8_t *, void *)> | kernel |
| | The integration kernel.
|
|
std::vector< std::int32_t > | entities |
| | The entities to integrate over for this integral. These are the entities in 'full' mesh.
|
|
std::vector< int > | coeffs |
| | Indices of coefficients (from the form) that are in this integral.
|
template<
dolfinx::scalar T, std::floating_point U = scalar_value_t<T>>
struct dolfinx::fem::integral_data< T, U >
Represents integral data, containing the kernel, and a list of entities to integrate over and the indicies of the coefficient functions (relative to the Form) active for this integral.
◆ integral_data()
template<typename K, typename V, typename W>
| integral_data |
( |
K && | kernel, |
|
|
V && | entities, |
|
|
W && | coeffs ) |
|
inline |
Create a structure to hold integral data.
- Parameters
-
| [in] | kernel | Integration kernel function. |
| [in] | entities | Indices of entities to integrate over. |
| [in] | coeffs | Indices of the coefficients that are present (active) in kernel. |
The documentation for this struct was generated from the following file:
- /__w/dolfinx/dolfinx/cpp/dolfinx/fem/Form.h