PolyFEM
Loading...
Searching...
No Matches
generate_mooney_rivlin Namespace Reference

Functions

 optimizations (s)
 
 mr_energy (F_)
 

Variables

 c1
 
 c2
 
 c3
 
 d1
 
int dim = 2
 
 F = MatrixSymbol('def_grad', dim, dim)
 
 F_ = Matrix(F)
 
 energy = mr_energy(F_)
 
 grad = energy.diff(F_)
 
 hess = grad.diff(F_)
 

Function Documentation

◆ mr_energy()

generate_mooney_rivlin.mr_energy (   F_)

Definition at line 20 of file generate_mooney_rivlin.py.

◆ optimizations()

generate_mooney_rivlin.optimizations (   s)

Definition at line 8 of file generate_mooney_rivlin.py.

Variable Documentation

◆ c1

generate_mooney_rivlin.c1

Definition at line 5 of file generate_mooney_rivlin.py.

◆ c2

generate_mooney_rivlin.c2

Definition at line 5 of file generate_mooney_rivlin.py.

◆ c3

generate_mooney_rivlin.c3

Definition at line 5 of file generate_mooney_rivlin.py.

◆ d1

generate_mooney_rivlin.d1

Definition at line 5 of file generate_mooney_rivlin.py.

◆ dim

int generate_mooney_rivlin.dim = 2

Definition at line 46 of file generate_mooney_rivlin.py.

◆ energy

generate_mooney_rivlin.energy = mr_energy(F_)

Definition at line 50 of file generate_mooney_rivlin.py.

◆ F

generate_mooney_rivlin.F = MatrixSymbol('def_grad', dim, dim)

Definition at line 47 of file generate_mooney_rivlin.py.

◆ F_

generate_mooney_rivlin.F_ = Matrix(F)

Definition at line 48 of file generate_mooney_rivlin.py.

◆ grad

generate_mooney_rivlin.grad = energy.diff(F_)

Definition at line 51 of file generate_mooney_rivlin.py.

◆ hess

generate_mooney_rivlin.hess = grad.diff(F_)

Definition at line 52 of file generate_mooney_rivlin.py.