On 4/8/20 10:20 AM, 孙翔 wrote:
I tried the zero boundary and it can get a correct answer. I truly used the
function for the matrix once in a time loop. In the new time loop, I have
updated the system matrix and vector. I am trying to debug it. Could you help
me review the code? If it is a stupid mistake, please just tell me it is and I
will try to continue to debug it. If it is due to some function usage or
mathematics, please help me with some details because I am just a beginner and
really want to learn more from dealii.
I can't debug everyone's code here on this mailing list, I'm afraid. I had a
brief look and the setup of the system matrix looks correct/reasonable to me.
But then you describe that you have two methods of which one works and the
other doesn't, and I don't know what this program implements; I also don't
know what the *expected* solution for this program is. So I'm afraid you'll
have to discuss this yourself. But as in the last few days, I'm happy to
provide ideas for how to debug. You'll just have to do it yourself...
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/d44e2125-f86a-f4c9-a2dc-b4de61b83261%40colostate.edu.