Error: Unable to extract subsystem of finite element.
Asked by
Charles Cook
I'm trying to assign a value to a Function. It would appear that I need to setup some 'subsystems'. How may I do that without calling solve?
Interval mesh (cells, xLeft, xRight);
FunctionSpace V (mesh);
Function u (V);
for(int i=0;i<=cells;i++)
un[i] = 1.0; //some value
I receive the following error:
*** -------
*** Error: Unable to extract subsystem of finite element.
*** Reason: There are no subsystems.
*** Where: This error was encountered inside FiniteElement.cpp.
*** -------
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Johan Hake
- Solved:
- Last query:
- Last reply:
To post a message you must log in.