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

Function e2

python/test/unit/fem/test_function.py:68–73  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

66 u3 = Function(Q)
67
68 def e2(x):
69 values = np.empty((3, x.shape[1]))
70 values[0] = x[0] + x[1] + x[2]
71 values[1] = x[0] - x[1] - x[2]
72 values[2] = x[0] + x[1] + x[2]
73 return values
74
75 def e3(x):
76 values = np.empty((9, x.shape[1]))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected