Hi,
I have a question about setting a piecewise variable CoefficientFunction. I know that it is possible for piecewise constant coefficients as follows:
" domain_values = {‘inner’: 3.7, ‘outer’: 1}
values_list = [domain_values[mat]
for mat in mesh.GetMaterials()]
cf = CoefficientFunction(values_list)
Draw(cf, mesh, ‘piecewise’) "
But I don’t know that this way works for piecewise variable coefficients. Is it possible?
I was wondering if someone would possibly share his/her knowledge with me in this regard. Thanks.
Best,
Danial