Hello, I am using Dolfinx and I want to apply the phase field model in a 3 points bending test. Hence, I need to use a pointwise displacement. For the moment I could not manage to do it. It executes the code but it gives zero displacements as a result. In FeniCS we used the method ‘pointwise’ but here I am quite lost about how to implement it.
TypeError: locate_entities_boundary(): incompatible function arguments. The following argument types are supported:
1. (mesh: dolfinx.cpp.mesh.Mesh, dim: int, marker: Callable[[numpy.ndarray[numpy.float64]], numpy.ndarray[bool]]) -> numpy.ndarray[numpy.int32]
Invoked with: <dolfinx.mesh.Mesh object at 0x7fc044c01450>, 0, <function point at 0x7fc04d1fd7e0>
It seems like there is something from with the `point(x) function. Can you please share a code snippet that works? Thank you very much.