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

Function Q

python/test/unit/fem/test_function_space.py:38–43  ·  view source on GitHub ↗
(mesh)

Source from the content-addressed store, hash-verified

36
37@pytest.fixture
38def Q(mesh):
39 W = element(
40 "Lagrange", mesh.basix_cell(), 1, shape=(mesh.geometry.dim,), dtype=default_real_type
41 )
42 V = element("Lagrange", mesh.basix_cell(), 1, dtype=default_real_type)
43 return functionspace(mesh, mixed_element([W, V]))
44
45
46@pytest.fixture

Callers

nothing calls this directly

Calls 3

functionspaceFunction · 0.90
mixed_elementFunction · 0.85
basix_cellMethod · 0.80

Tested by

no test coverage detected