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
NeoHookeanElasticityAutodiff.cpp
Go to the documentation of this file.
1
#include "
NeoHookeanElasticityAutodiff.hpp
"
2
3
namespace
polyfem::assembler
4
{
5
NeoHookeanAutodiff::NeoHookeanAutodiff
()
6
{
7
}
5
NeoHookeanAutodiff::NeoHookeanAutodiff
() {
…
}
8
9
void
NeoHookeanAutodiff::add_multimaterial
(
const
int
index,
const
json
¶ms,
const
Units
&units)
10
{
11
params_
.
add_multimaterial
(index, params,
size
() == 3, units.
stress
());
12
}
9
void
NeoHookeanAutodiff::add_multimaterial
(
const
int
index,
const
json
¶ms,
const
Units
&units) {
…
}
13
}
// namespace polyfem::assembler
NeoHookeanElasticityAutodiff.hpp
polyfem::Units
Definition
Units.hpp:12
polyfem::Units::stress
std::string stress() const
Definition
Units.hpp:25
polyfem::assembler::Assembler::size
int size() const
Definition
Assembler.hpp:63
polyfem::assembler::LameParameters::add_multimaterial
void add_multimaterial(const int index, const json ¶ms, const bool is_volume, const std::string &stress_unit)
Definition
MatParams.cpp:359
polyfem::assembler::NeoHookeanAutodiff::params_
LameParameters params_
Definition
NeoHookeanElasticityAutodiff.hpp:38
polyfem::assembler::NeoHookeanAutodiff::NeoHookeanAutodiff
NeoHookeanAutodiff()
Definition
NeoHookeanElasticityAutodiff.cpp:5
polyfem::assembler::NeoHookeanAutodiff::add_multimaterial
void add_multimaterial(const int index, const json ¶ms, const Units &units) override
Definition
NeoHookeanElasticityAutodiff.cpp:9
polyfem::assembler
Used for test only.
Definition
AMIPSEnergy.cpp:6
polyfem::json
nlohmann::json json
Definition
Common.hpp:9
src
polyfem
assembler
NeoHookeanElasticityAutodiff.cpp
Generated by
1.9.8