I'm working on the implementation of a complex valued problem and found the following topic of high value:
https://fenicsproject.org/qa/8647/solving-a-complex-eigenvalue-problem?show=8647#q8647
Here maartent post the following code snippet which is exactly what I'm looking for.
V = FunctionSpace(mesh, 'CG' 1)
Vcomplex = V * V
ureal, uimag = TrialFunction(Vcomplex)
vreal, vimag = TestFunction(Vcomplex)
Is that syntax still correct in the latest stable version, i.e.
docker pull quay.io/fenicsproject/stable:latest
since it returns the following error:
Vcomplex = V * V
TypeError: unsupported operand type(s) for *: 'FunctionSpace' and 'FunctionSpace'
Or is the problem most likely elsewhere?