PolyFEM
Loading...
Searching...
No Matches
InterfaceData.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5namespace polyfem
6{
7 namespace basis
8 {
10 {
11 // static const int LEFT_FLAG = 1;
12 // static const int TOP_FLAG = 2;
13 // static const int RIGHT_FLAG = 4;
14 // static const int BOTTOM_FLAG = 8;
15
16 // Global index of the incident element (other than the polygon)
17 // int element_id = -1;
18
19 // One of the 6 flags above, to know which boundary to sample in the parameterization domain
20 // int flag;
21
22 // The field on the interface edge/face is defined as a linear combination
23 // of a certain number of basis. For regular Q1 or Q2 elements the weight
24 // of the linear combination are always 1, but in the presence of irregular
25 // or mixed elements, this may not always be the case.
26
27 // list of nodes on this edge/face
28 // std::vector<int> node_id;
29
30 // list of local basis indices
31 std::vector<int> local_indices;
32
33 // list of local weights
34 // std::vector<double> vals;
35
36 // vital! the 3 arrays MUST have the same length
37 };
38 } // namespace basis
39} // namespace polyfem
std::vector< int > local_indices