liblaf.apple.warp.energies.elastic.hyperelastic.func
¤
Functions:
-
I1–\(I_1\).
-
I2–\(I_2\).
-
I3–\(I_3\).
-
Qs– -
dRdF_vjp– -
deformation_gradient–\(F = \pdv{u}{x} + I\).
-
deformation_gradient_jvp–\(\pdv{F}{x} p\).
-
deformation_gradient_vjp–\(\pdv{F}{x}^T p\).
-
g1–Gradient of \(I_1\) w.r.t. \(F\).
-
g2–Gradient of \(I_2\) w.r.t. \(F\).
-
g3–Gradient of \(I_3\) w.r.t. \(F\).
-
gradient–\(\pdv{u}{x}\).
-
h1_diag–\(diag(h_1)\).
-
h1_prod–\(h_1 p\).
-
h1_quad–\(p^T h_1 p\).
-
h2_diag–\(diag(h_2)\).
-
h2_prod–\(h_2 p\).
-
h2_quad–\(p^T h_2 p\).
-
h3_diag–\(diag(h_3)\).
-
h3_prod–\(h_3 p\).
-
h3_quad–\(p^T h_3 p\).
-
h4_diag–\(diag(h_4)\).
-
h4_prod–\(h_4 p\).
-
h4_quad–\(p^T h_4 p\).
-
h5_diag–\(diag(h_5)\).
-
h5_prod–\(h_5 p\).
-
h5_quad–\(p^T h_5 p\).
-
h6_diag–\(diag(h_6)\).
-
h6_prod–\(h_6 p\).
-
h6_quad–\(p^T h_6 p\).
-
lambdas– -
make_activation_mat33–
I1
¤
I1(S: mat33) -> scalar
\(I_1\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_identities.py
9 10 11 12 13 14 15 16 17 | |
I2
¤
I2(F: mat33) -> scalar
\(I_2\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_identities.py
20 21 22 23 24 25 26 27 28 | |
I3
¤
I3(F: mat33) -> scalar
\(I_3\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_identities.py
31 32 33 34 35 36 37 38 39 | |
Qs
¤
Qs(U: mat33, V: mat33) -> tuple[mat33, mat33, mat33]
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_misc.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |
dRdF_vjp
¤
dRdF_vjp(
M: mat33,
lambdas: vec3,
Q0: mat33,
Q1: mat33,
Q2: mat33,
) -> mat33
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_misc.py
10 11 12 13 14 15 16 | |
deformation_gradient
¤
deformation_gradient(u: mat43, dhdX: mat43) -> mat33
\(F = \pdv{u}{x} + I\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_deformation.py
16 17 18 19 20 | |
deformation_gradient_jvp
¤
deformation_gradient_jvp(dhdX: mat43, p: mat43) -> mat33
\(\pdv{F}{x} p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_deformation.py
23 24 25 26 27 | |
deformation_gradient_vjp
¤
deformation_gradient_vjp(dhdX: mat43, p: mat33) -> mat43
\(\pdv{F}{x}^T p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_deformation.py
30 31 32 33 34 | |
g1
¤
g1(R: mat33) -> mat33
Gradient of \(I_1\) w.r.t. \(F\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_gradients.py
8 9 10 11 12 13 14 15 16 17 | |
g2
¤
g2(F: mat33) -> mat33
Gradient of \(I_2\) w.r.t. \(F\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_gradients.py
20 21 22 23 24 25 26 27 28 29 | |
g3
¤
g3(F: mat33) -> mat33
Gradient of \(I_3\) w.r.t. \(F\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_gradients.py
32 33 34 35 36 37 38 39 40 41 42 | |
gradient
¤
gradient(u: mat43, dhdX: mat43) -> mat33
\(\pdv{u}{x}\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_deformation.py
9 10 11 12 13 | |
h1_diag
¤
h1_diag(dhdX: mat43, g1: mat33) -> mat43
\(diag(h_1)\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_diag.py
15 16 17 18 19 | |
h1_prod
¤
h1_prod(p: mat43, dhdX: mat43, g1: mat33) -> mat43
\(h_1 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_prod.py
13 14 15 16 17 18 | |
h1_quad
¤
h1_quad(p: mat43, dhdX: mat43, g1: mat33) -> scalar
\(p^T h_1 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_quad.py
16 17 18 19 20 | |
h2_diag
¤
h2_diag(dhdX: mat43, g2: mat33) -> mat43
\(diag(h_2)\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_diag.py
22 23 24 25 26 | |
h2_prod
¤
h2_prod(p: mat43, dhdX: mat43, g2: mat33) -> mat43
\(h_2 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_prod.py
21 22 23 24 25 26 | |
h2_quad
¤
h2_quad(p: mat43, dhdX: mat43, g2: mat33) -> scalar
\(p^T h_2 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_quad.py
23 24 25 26 27 | |
h3_diag
¤
h3_diag(dhdX: mat43, g3: mat33) -> mat43
\(diag(h_3)\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_diag.py
29 30 31 32 33 | |
h3_prod
¤
h3_prod(p: mat43, dhdX: mat43, g3: mat33) -> mat43
\(h_3 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_prod.py
29 30 31 32 33 34 | |
h3_quad
¤
h3_quad(p: mat43, dhdX: mat43, g3: mat33) -> scalar
\(p^T h_3 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_quad.py
30 31 32 33 34 | |
h4_diag
¤
h4_diag(
dhdX: mat43,
U: mat33,
sigma: vec3,
V: mat33,
*,
clamp: bool = True,
) -> mat43
\(diag(h_4)\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_diag.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
h4_prod
¤
h4_prod(
p: mat43,
dhdX: mat43,
U: mat33,
sigma: vec3,
V: mat33,
*,
clamp: bool = True,
) -> mat43
\(h_4 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_prod.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | |
h4_quad
¤
h4_quad(
p: mat43,
dhdX: mat43,
U: mat33,
sigma: vec3,
V: mat33,
*,
clamp: bool = True,
) -> scalar
\(p^T h_4 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_quad.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 | |
h5_diag
¤
h5_diag(dhdX: mat43) -> mat43
\(diag(h_5)\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_diag.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 | |
h5_prod
¤
h5_prod(p: mat43, dhdX: mat43) -> mat43
\(h_5 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_prod.py
55 56 57 58 59 60 | |
h5_quad
¤
h5_quad(p: mat43, dhdX: mat43) -> scalar
\(p^T h_5 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_quad.py
53 54 55 56 57 58 | |
h6_diag
¤
h6_diag(dhdX: mat43, F: mat33) -> mat43
\(diag(h_6)\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_diag.py
70 71 72 73 74 | |
h6_prod
¤
h6_prod(p: mat43, dhdX: mat43, F: mat33) -> mat43
\(h_6 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_prod.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | |
h6_quad
¤
h6_quad(p: mat43, dhdX: mat43, F: mat33) -> scalar
\(p^T h_6 p\).
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_hess_quad.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
lambdas
¤
lambdas(sigma: vec3, *, clamp: bool = True) -> vec3
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_misc.py
19 20 21 22 23 24 25 26 27 28 29 30 31 | |
make_activation_mat33
¤
make_activation_mat33(activation: vec6) -> mat33
Source code in src/liblaf/apple/warp/energies/elastic/hyperelastic/func/_misc.py
34 35 36 37 38 39 40 41 | |