On 4/26/19 8:04 PM, hanks0...@gmail.com wrote:
> 
> 
> The several components in the matrix A_ij change to 0 or 1, and these changed 
> values are used in assembling the system_rhs.
> (if it is wrong please let me know what is the reason....)
> 
> So, my question is reassembling the system_matrix is necessary...?

Not really. You will want to use something like what is done in step-26 where 
we store the matrix (actually, matrices) without boundary values applied, and 
in each time step copy them into system_matrix and apply boundary values. I 
suspect that this is what you also want to do in your case.

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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to