Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Nov 15, 2024
1 parent a07587e commit a674ccf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions firedrake/pointquery_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from pyop2 import op2
from pyop2.parloop import generate_single_cell_wrapper

from firedrake.mesh import MeshGeometry
from firedrake.petsc import PETSc
from firedrake.utils import IntType, as_cstr, ScalarType, ScalarType_c, complex_mode, RealType_c

Expand Down Expand Up @@ -193,16 +194,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
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
-------
Expand Down

0 comments on commit a674ccf

Please sign in to comment.