PolyFEM
Loading...
Searching...
No Matches
NodeCompositeParametrizations.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4#include <Eigen/Core>
5
6namespace polyfem
7{
8 class State;
9}
10
11namespace polyfem::solver
12{
14 {
15 public:
16 VariableToNodes(const State &state);
17 virtual ~VariableToNodes() {}
18 virtual void set_output_indexing(const std::vector<int> &node_ids) final;
19 const Eigen::VectorXi &get_output_indexing() const { return output_indexing_; }
20
21 protected:
22 int dim;
23
24 Eigen::VectorXi output_indexing_;
25 };
26
28 {
29 public:
30 VariableToInteriorNodes(const State &state, const std::vector<int> &volume_selection);
31 };
32
34 {
35 public:
36 VariableToBoundaryNodes(const State &state, const std::vector<int> &surface_selection);
37 };
38
40 {
41 public:
42 VariableToBoundaryNodesExclusive(const State &state, const std::vector<int> &exclude_surface_selections);
43 };
44} // namespace polyfem::solver
main class that contains the polyfem solver and all its state
Definition State.hpp:79
virtual void set_output_indexing(const std::vector< int > &node_ids) final
const Eigen::VectorXi & get_output_indexing() const