hello
i am trying mark the boundary in cylindrical shape.i follow this link but i got this error
marker = lambda height, r, c, projection: c * c < r ** 2 and projection > 0 and projection < height
sphere_dofs = fem.locate_dofs_geometrical (V=V, marker=marker)
Traceback (most recent call last):
Cell In[41], line 1
sphere_dofs = fem.locate_dofs_geometrical (V=V, marker=marker)
File ~/Documents/Software/fenics-x/install/lib64/python3.10/site-packages/dolfinx/fem/bcs.py:50 in locate_dofs_geometrical
return _cpp.fem.locate_dofs_geometrical(V._cpp_object, marker) # type: ignore
TypeError: () missing 3 required positional arguments: ‘r’, ‘c’, and ‘projection’
could you please help.
https://jsdokken.com/dolfinx-tutorial/chapter3/multiple_dirichlet.html