Hello,
I have a function that computes a bundary such as:
def mors(x):
return np.logical_and(x[0]> L-L_MORS/2,
np.logical_or(np.isclose(x[1], D_MORS/2),
np.isclose(x[1], -D_MORS/2)
)
)
and I would like to get a modified displacement Function
ud
that have the same values as the displacement Function
u
on this boundary and is zero elsewhere. I thought about using interpolate
but is there a more elegant/direct way?
Thanks a lot.