# allow (unused) state variables to be passed as the c-
W = umat.function([deformation_gradient, statevars])
P, statevars_new = umat.gradient([deformation_gradient, statevars]) # also returns the updated state variables
A = umat.hessian([deformation_gradient, statevars])
This is just a small change for matADi with a wrapper for the function, gradient and hessian methods for hyperelastic materials.
FElupe>5.3.1 calls materials with
This is just a small change for matADi with a wrapper for the
function
,gradient
andhessian
methods for hyperelastic materials.