DOLFINx 0.9.0
DOLFINx C++ interface
|
Represents integral data, containing the integral ID, the kernel, and a list of entities to integrate over. More...
#include <Form.h>
Public Member Functions | |
template<typename K , typename V , typename W > requires std::is_convertible_v< std::remove_cvref_t<K>, std::function<void(T*, const T*, const T*, const U*, const int*, const uint8_t*)>> and std::is_convertible_v<std::remove_cvref_t<V>, std::vector<std::int32_t>> and std::is_convertible_v<std::remove_cvref_t<W>, std::vector<int>> | |
integral_data (int id, K &&kernel, V &&entities, W &&coeffs) | |
Create a structure to hold integral data. | |
template<typename K , typename W > requires std::is_convertible_v< std::remove_cvref_t<K>, std::function<void(T*, const T*, const T*, const U*, const int*, const uint8_t*)>> and std::is_convertible_v<std::remove_cvref_t<W>, std::vector<int>> | |
integral_data (int id, K &&kernel, std::span< const std::int32_t > entities, W &&coeffs) | |
Create a structure to hold integral data. | |
Represents integral data, containing the integral ID, the kernel, and a list of entities to integrate over.
|
inline |
Create a structure to hold integral data.
[in] | id | Domain ID. |
[in] | kernel | Integration kernel. |
[in] | entities | Indices of entities to integrate over. |
[in] | coeffs | Indicies of the coefficients are present (active) in kernel . |
|
inline |
Create a structure to hold integral data.
[in] | id | Domain ID. |
[in] | kernel | Integration kernel. |
[in] | entities | Indices of entities to integrate over. |
[in] | coeffs | Indicies of the coefficients that are active in the kernel . |
entities
to be passed as a std::span, which is then copied.