warp.fem.make_trial#

warp.fem.make_trial(
space,
space_restriction=None,
space_partition=None,
domain=None,
)[source]#

Constructs a trial field over a function space or partition

Parameters:
  • space (FunctionSpace) – the function space or function space restriction

  • 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 consider

  • domain (GeometryDomain | None) – if space_restriction is None, optional subset of elements to consider

  • device – Warp device on which to perform and store computations

Returns:

the trial field

Return type:

TrialField