Skip to content

Point evaluation fails with 64bit integers. #1523

@dham

Description

@dham

If Firedrake is installed with --petsc-int-type int64 then point evaluation generates illegal code which causes a compiler error. MFE:

from firedrake import *

mesh = UnitSquareMesh(2, 2)

fs = FunctionSpace(mesh, "CG", 1)
f = Function(fs)

f.at([0,0])

The issue appears to be that wrap_to_reference_coords takes int64_t arguments but is passed arguments of type long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions