Lagrange
|
A simple struct representing the inverse of a 1-to-many mapping. More...
#include <lagrange/internal/invert_mapping.h>
Public Attributes | |
std::vector< Index > | data |
A flat array of indices of the source elements. | |
std::vector< Index > | offsets |
An array of data offset indices. It is of size num_target_elements + 1 . | |
A simple struct representing the inverse of a 1-to-many mapping.
Target element i
is mapped to source elements with index in the range from mapping.data[mapping.offsets[i]]
to mapping.data[mapping.offsets[i+1]]
.
Index | Mapping index type. |