diff --git a/firedrake/pointquery_utils.py b/firedrake/pointquery_utils.py index 32df5b4454..199559c4d6 100644 --- a/firedrake/pointquery_utils.py +++ b/firedrake/pointquery_utils.py @@ -193,16 +193,18 @@ def predicate(index): @PETSc.Log.EventDecorator() -def compile_coordinate_element(mesh, contains_eps, parameters=None): +def compile_coordinate_element(mesh: MeshGeometry, contains_eps: float, parameters: dict | None = None): """Generates C code for changing to reference coordinates. Parameters ---------- - mesh : MeshTopology + mesh : The mesh. - contains_eps : float - The tolerance used to verify that a point is contained by a cell. + contains_eps : + The tolerance used to verify that a point is contained by a cell. + parameters : + Form compiler parameters, defaults to whatever TSFC defaults to. Returns -------