On 1/13/19 2:00 PM, Daniel Arndt wrote:
> 
> You can define your sparsity pattern before your matrix such that it is 
> destroyed after the matrix. An alternative is to call SparseMatrix::clear() 
> instead of SparseMatrix::reinit() in you code.

Yes, apologies -- this is the function I wanted to call.

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

Reply via email to