14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/extract_submesh.h>
16#include <lagrange/utils/span.h>
42template <
typename Scalar,
typename Index>
44 const SurfaceMesh<Scalar, Index>& mesh,
48 const SubmeshOptions& options);
::nonstd::span< T, Extent > span
A bounds-safe view for sequences of objects.
Definition span.h:27
nullptr_t, size_t, ptrdiff_t basic_ostream bad_weak_ptr extent, remove_extent, is_array,...
Definition attribute_string_utils.h:21
std::vector< SurfaceMesh< Scalar, Index > > extract_submeshes_by_group(const SurfaceMesh< Scalar, Index > &mesh, size_t num_groups, span< const Index > facet_indices, span< const Index > group_offsets, const SubmeshOptions &options)
Extract multiple submeshes defined by facet groups in a single linear pass.
Definition extract_submeshes_by_group.cpp:69