warp.fem.make_test#
- warp.fem.make_test(
- space,
- space_restriction=None,
- space_partition=None,
- domain=None,
- device=None,
Constructs a test field over a function space or its restriction
- Parameters:
space (FunctionSpace) – the function space
space_restriction (SpaceRestriction | None) – restriction of the space topology to a domain
space_partition (SpacePartition | None) – if space_restriction is
None, the optional subset of node indices to considerdomain (GeometryDomain | None) – if space_restriction is
None, optional subset of elements to considerdevice – Warp device on which to perform and store computations
- Returns:
the test field
- Return type: