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
AssemblyValues.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
polyfem/basis/Basis.hpp
>
4
5
#include <Eigen/Dense>
6
7
8
namespace
polyfem
9
{
10
namespace
assembler
11
{
13
class
AssemblyValues
14
{
15
public
:
16
// m = number of quadrature points
17
18
// Weighted sum to express the current ("virtual") node as a linear-combination
19
// of the real (unknown) nodes
20
std::vector<basis::Local2Global>
global
;
21
22
// Evaluation of the basis over the quadrature points of the element
23
Eigen::MatrixXd
val
;
// R^m
24
25
// Gradient of the basis over the quadrature points
26
Eigen::MatrixXd
grad
;
// R^{m x dim}
27
28
// Gradient of the basis pre-multiplied by the inverse transpose of the
29
// Jacobian of the geometric mapping of the element
30
Eigen::MatrixXd
grad_t_m
;
// J^{-T}*∇φi per row R^{m x dim}
31
32
void
finalize
()
33
{
34
grad_t_m
.resize(
grad
.rows(),
grad
.cols());
35
}
32
void
finalize
() {
…
}
36
};
13
class
AssemblyValues
{
…
};
37
}
// namespace assembler
38
}
// namespace polyfem
Basis.hpp
polyfem::assembler::AssemblyValues
stores per local bases evaluations
Definition
AssemblyValues.hpp:14
polyfem::assembler::AssemblyValues::global
std::vector< basis::Local2Global > global
Definition
AssemblyValues.hpp:20
polyfem::assembler::AssemblyValues::grad_t_m
Eigen::MatrixXd grad_t_m
Definition
AssemblyValues.hpp:30
polyfem::assembler::AssemblyValues::grad
Eigen::MatrixXd grad
Definition
AssemblyValues.hpp:26
polyfem::assembler::AssemblyValues::val
Eigen::MatrixXd val
Definition
AssemblyValues.hpp:23
polyfem::assembler::AssemblyValues::finalize
void finalize()
Definition
AssemblyValues.hpp:32
polyfem
Definition
AMIPSEnergy.cpp:6
src
polyfem
assembler
AssemblyValues.hpp
Generated by
1.9.8