Applying dirichlet boundary conditions with apply()
Asked by
Claas Abert
I have a working python code which uses
A, b = assemble_system(a, L, bc)
to assemble the system.
Since I want to solve a time dependent problem, where only L and thus b changes with time, I'd like to assemble the system matrix once at the beginnng of the calculation.
A = assemble(a)
bc.apply(A)
This however yields a different result than the assemble_system call.
What is difference between these two methods?
Thanks in advance, Claas
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Claas Abert
- Solved:
- Last query:
- Last reply:
To post a message you must log in.