MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / sigma

Function sigma

python/test/unit/la/test_nullspace.py:111–112  ·  view source on GitHub ↗
(w, gdim)

Source from the content-addressed store, hash-verified

109 lmbda = E * nu / ((1.0 + nu) * (1.0 - 2.0 * nu))
110
111 def sigma(w, gdim):
112 return 2.0 * mu * ufl.sym(grad(w)) + lmbda * ufl.tr(grad(w)) * ufl.Identity(gdim)
113
114 a = form(inner(sigma(u, mesh.geometry.dim), grad(v)) * dx, dtype=dtype)
115

Callers 1

test_nullspace_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected