22
edits
(Mixed Poisson updated as required to make use of ufl.m) |
|||
Line 346: | Line 346: | ||
=== Hyperelasticity === | === Hyperelasticity === | ||
This time we compare the code with the | This time we compare the code with the C++ version of DOLFIN. The problem for an elastic material can be expressed as a minimization problem | ||
<math> \min_{u \in V} \Pi</math> | <math> \min_{u \in V} \Pi</math> | ||
Line 444: | Line 444: | ||
ufl # Compute Jacobian of F | ufl # Compute Jacobian of F | ||
ufl J = derivative(F, u, du) | ufl J = derivative(F, u, du) | ||
ufl end | |||
delete HyperElasticity.ufl | delete HyperElasticity.ufl | ||
Line 589: | Line 590: | ||
using namespace dolfin; | using namespace dolfin; | ||
edits