A device generator to generate a device from flat C-Arrays (DOES NOT TAKE OWNERSHIP) More...
#include <generate_device.hpp>
Public Member Functions | |
device_from_flat_array_generator (double *vertices, IndexT *cells, IndexT *segmentation, IndexT num_vertices, IndexT num_cells) | |
template<typename MeshT , typename SegmentationT > | |
void | operator() (MeshT &mesh, SegmentationT &seg) const |
Functor interface. The mesh and the segmentation need to be given. More... | |
A device generator to generate a device from flat C-Arrays (DOES NOT TAKE OWNERSHIP)
vertices | A 1d array: vertices[num_vertices * dimension] |
cells | A 1d array: cells[num_cells * number_of_vertices_per_cell] |
num_vertices | The number of vertices in the domain |
num_cells | The number of cells in the domain |
Definition at line 549 of file generate_device.hpp.
|
inline |
Definition at line 551 of file generate_device.hpp.
|
inline |
Functor interface. The mesh and the segmentation need to be given.
Definition at line 562 of file generate_device.hpp.