On 10/13/2017 02:06 AM, Mark Ma wrote:

later, I changed the control into
|
|
SolverControlsolver_control (5*system_rhs.size(),1e-12*system_rhs.l2_norm())
|
|
this works well for structure size of um or nm. I think previous setting may lead to a loss of precision so that the results are always incorrect.

Yes, indeed -- using a tolerance relative to the size of the rhs vector is important.

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