PolyFEM
Loading...
Searching...
No Matches
NodeSelectionUtils.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Core>
4
5#include <vector>
6
8
9namespace polyfem
10{
11
15 Eigen::VectorXi select_interior_nodes(
16 const legacy::State &state,
17 const std::vector<int> &volume_selection);
18
22 Eigen::VectorXi select_boundary_nodes(
23 const legacy::State &state,
24 const std::vector<int> &surface_selection);
25
30 const legacy::State &state,
31 const std::vector<int> &exclude_surface_selections);
32
33} // namespace polyfem
Eigen::VectorXi select_boundary_nodes_excluding_surfaces(const legacy::State &state, const std::vector< int > &exclude_surface_selections)
Select all boundary nodes (vertex id) except surface.
Eigen::VectorXi select_interior_nodes(const legacy::State &state, const std::vector< int > &volume_selection)
Select interior nodes (vertex id).
Eigen::VectorXi select_boundary_nodes(const legacy::State &state, const std::vector< int > &surface_selection)
Select boundary nodes (vertex id).