On 03/16/2017 08:38 PM, Jaekwang Kim wrote:

I think this two function do everything I needed... but when I run my code, I
run into error message when I assemble system in second time.
what might be the problem.....?

As the error message says, you are trying to write into a matrix entry that does not exist. Did you re-initialize the sparsity pattern and matrix after you refined the mesh?

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