How I can apply a condition to the limit within a circle.
I tried with this code but I have always received a message
center1 = [20,100]
radius = 5
tol=0.001
def on_circlehaut(x, on_boundary):
oncirclehaut = ((x[0]-center1[0])(x[0]-center1[0]) + (x[1]-center1[1])(x[1]-center1[1]))
return oncirclehaut >= (radius-tol)(radius-tol) and oncirclehaut<=(radius+tol)(radius+tol)
center2 = [20,20]
"Warning: Found no facets matching domain for boundary condition."