Too many spaces for MixedFunctionSpace to handle?
Hello everyone,
I am trying to solve a problem in which I need to fix only one element of a vector function. I cannot find a way to use DirichletBC to do this, so I am having to use many Lagrange multipliers instead.
The following code compiles and solves just fine:
from dolfin import *
mesh = Mesh('mesh_
V = VectorFunctionS
R = FunctionSpace(mesh, "R", 0)
W = MixedFunctionSp
However, when I add another lagrange multiplier, like so:
W = MixedFunctionSp
I get the following error:
Traceback (most recent call last):
File "mfstest.py", line 7, in <module>
W = MixedFunctionSp
File "/maybehome/
FunctionSpa
File "/maybehome/
ufc_element, ufc_dofmap = jit(self.
File "/maybehome/
return local_jit(*args, **kwargs)
File "/maybehome/
return jit_compile(form, parameters=p, common_
File "/maybehome/
return jit_element(
File "/maybehome/
compiled_form, module, form_data, prefix = jit_form(form, parameters)
File "/maybehome/
compiled_form = _extract_
File "/maybehome/
return getattr(module, prefix + "_form_0")()
AttributeError: 'module' object has no attribute 'ffc_form_
Any help is appreciated.
NB: I am also posting a separate question regarding the use of Dirichlet conditions on only one element of a vector function.
Cheers,
Christopher
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Kent-Andre Mardal
- Solved:
- Last query:
- Last reply: