Loading [MathJax]/extensions/tex2jax.js
PolyFEM
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
b
c
d
e
f
g
h
l
m
n
o
p
q
s
t
v
Enumerations
Related Symbols
a
c
e
g
i
l
o
p
s
Files
File List
File Members
All
_
a
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
c
d
e
f
g
i
l
m
q
s
t
v
w
x
y
z
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
InterfaceData.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
namespace
polyfem
6
{
7
namespace
basis
8
{
9
struct
InterfaceData
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
};
9
struct
InterfaceData
{
…
};
38
}
// namespace basis
39
}
// namespace polyfem
polyfem
Definition
AMIPSEnergy.cpp:6
polyfem::basis::InterfaceData
Definition
InterfaceData.hpp:10
polyfem::basis::InterfaceData::local_indices
std::vector< int > local_indices
Definition
InterfaceData.hpp:31
src
polyfem
basis
InterfaceData.hpp
Generated by
1.9.8