On 4/7/20 5:31 PM, 孙翔 wrote:
I applied a Dirichlet boundary condition after I formed system matrixes and
vectors, then use the method you taught in the lecture to change the entries
in the system matrix and rhs vector. Could I upload the code here in order to
make it clear?
You can, but you will have to learn to debug these problems yourself.
If the boundary values are wrong, is this the case if the correct boundary
values are nonzero? Does it also happen if the correct boundary are zero? If
it works for zero boundary values, then you should carefully read step-26
again: You can only use apply_boundary_values() once for a given matrix
because it changes the matrix.
Best
WB
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/f91c4e60-60e3-2db9-3cb2-564c6da42d62%40colostate.edu.