|
| FormIntegrals (const std::map< IntegralType, std::vector< std::pair< int, std::function< void(T *, const T *, const T *, const double *, const int *, const std::uint8_t *, const std::uint32_t)>>>> &integrals, bool needs_permutation_data) |
| Construct object from (index, tabulate function) pairs for different integral types. More...
|
|
const std::function< void(T *, const T *, const T *, const double *, const int *, const std::uint8_t *, const std::uint32_t)> & | get_tabulate_tensor (IntegralType type, int i) const |
| Get the function for 'tabulate_tensor' for integral i of given type. More...
|
|
void | set_tabulate_tensor (IntegralType type, int i, const std::function< void(T *, const T *, const T *, const double *, const int *, const std::uint8_t *, const std::uint32_t)> &fn) |
|
std::set< IntegralType > | types () const |
| Get types of integrals in the form. More...
|
|
int | num_integrals (IntegralType type) const |
| Number of integrals of given type. More...
|
|
std::vector< int > | integral_ids (IntegralType type) const |
| Get the integer IDs of integrals of type t. The IDs correspond to the domains which the integrals are defined for in the form, except ID -1, which denotes the default integral. More...
|
|
const std::vector< std::int32_t > & | integral_domains (IntegralType type, int i) const |
| Get the list of active entities for the ith integral of type t. Note, these are not retrieved by ID, but stored in order. The IDs can be obtained with "FormIntegrals::integral_ids()". For cell integrals, a list of cells. For facet integrals, a list of facets etc. More...
|
|
void | set_domains (IntegralType type, const mesh::MeshTags< int > &marker) |
| Set the valid domains for the integrals of a given type from a MeshTags "marker". Note the MeshTags is not stored, so if there any changes to the integration domain this must be called again. More...
|
|
void | set_default_domains (const mesh::Mesh &mesh) |
| If there exists a default integral of any type, set the list of entities for those integrals from the mesh topology. For cell integrals, this is all cells. For facet integrals, it is either all interior or all exterior facets. More...
|
|
bool | needs_permutation_data () const |
| Get bool indicating whether permutation data needs to be passed into these integrals. More...
|
|
template<typename T>
class dolfinx::fem::FormIntegrals< T >
Integrals of a Form, including those defined over cells, interior and exterior facets, and vertices.