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
6
namespace
polyfem
7
{
8
class
State;
9
}
10
11
namespace
polyfem::solver
12
{
13
class
VariableToNodes
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
27
class
VariableToInteriorNodes
:
public
VariableToNodes
28
{
29
public
:
30
VariableToInteriorNodes
(
const
State
&state,
const
std::vector<int> &volume_selection);
31
};
32
33
class
VariableToBoundaryNodes
:
public
VariableToNodes
34
{
35
public
:
36
VariableToBoundaryNodes
(
const
State
&state,
const
std::vector<int> &surface_selection);
37
};
38
39
class
VariableToBoundaryNodesExclusive
:
public
VariableToNodes
40
{
41
public
:
42
VariableToBoundaryNodesExclusive
(
const
State
&state,
const
std::vector<int> &exclude_surface_selections);
43
};
44
}
// namespace polyfem::solver
polyfem::State
main class that contains the polyfem solver and all its state
Definition
State.hpp:79
polyfem::solver::VariableToBoundaryNodesExclusive
Definition
NodeCompositeParametrizations.hpp:40
polyfem::solver::VariableToBoundaryNodes
Definition
NodeCompositeParametrizations.hpp:34
polyfem::solver::VariableToInteriorNodes
Definition
NodeCompositeParametrizations.hpp:28
polyfem::solver::VariableToNodes
Definition
NodeCompositeParametrizations.hpp:14
polyfem::solver::VariableToNodes::set_output_indexing
virtual void set_output_indexing(const std::vector< int > &node_ids) final
Definition
NodeCompositeParametrizations.cpp:14
polyfem::solver::VariableToNodes::dim
int dim
Definition
NodeCompositeParametrizations.hpp:22
polyfem::solver::VariableToNodes::~VariableToNodes
virtual ~VariableToNodes()
Definition
NodeCompositeParametrizations.hpp:17
polyfem::solver::VariableToNodes::output_indexing_
Eigen::VectorXi output_indexing_
Definition
NodeCompositeParametrizations.hpp:24
polyfem::solver::VariableToNodes::get_output_indexing
const Eigen::VectorXi & get_output_indexing() const
Definition
NodeCompositeParametrizations.hpp:19
polyfem::solver
Definition
OptState.hpp:16
polyfem
Definition
AMIPSEnergy.cpp:6
src
polyfem
solver
forms
parametrization
NodeCompositeParametrizations.hpp
Generated by
1.9.8