Dear all,
during postprocessing, I have to acces / change the parameters of a CompiledSubDomain object (details regarding application see Define circle SubDomains with different radii). The following code worked fine for me on 2017.2:
#define domain
intDomain = CompiledSubDomain(‘(x[0]-x_tip)(x[0]-x_tip)+(x[1]-y_tip)(x[1]-y_tip) < r_cf*r_cf’,x_tip=xt, y_tip=yt, r_cf=rt)
…
#change domain’s parameter
intDomain.r_cf=rt_new
Trying the same code with Fenics 2018.1 (version from the docker containers), I get the following error I don’t understand:
intDomain.r_cf=rt_new
AttributeError: ‘dolfin.cpp.mesh.SubDomain’ object has no attribute ‘r_cf’
Does anybody know how to fix this isssue?
Thanks in advance !