Will the constrained_domain property be inherited when I merge the function together?
and is it possible to use MixedFunctionSpace only on one Function?
I am trying to run multi field problem, and I make each subfunction on a constrianed domain, i.e. periodic domain.
The first thing I have done is normal solution with one field. And I impose the periodicity on my Function.
Then I try to generalize it to adapt to the multi field layout.
# w is my function
FS_li = [wi.function_space() for wi in w]
MFS = MixedFunctionSpace(FS_li)
w_merge = Function(MFS)
but the result is different from the following code below.
FS = w.function_space()
w_merge = Function(FS)
so my question is: should I make a specific case when I only have one field and avoid MixedFunctionSpace on only one Function list?
Another question is: can the mixed function recognize my constrained domain in my sub function space?
Coz my code is a little bit lengthy, I did not paste them here.