Yang,

On Monday, February 21, 2022 at 8:00:24 AM UTC-5 Yang Liu wrote:

> 1. Is it possible to extract the residual vector from the SolverCG (or 
> other possible solvers) class?


Yes, you can extract the residual vector using this 
<https://dealii.org/current/doxygen/deal.II/classSolverControl.html#a6d99741765243ccb65da4ff66558cf41>
  
and this 
<https://dealii.org/current/doxygen/deal.II/classSolverControl.html#a23d702aa2d7ee0a7b42c9968cf796521>

>
> 2. Is it possible to use the inner product as mentioned above rather than 
> the l_2 norm as the check_value in the SolverControl class?
>
 
To do that you will need to create your on SolverControl class. As you can 
see here 
<https://dealii.org/current/doxygen/deal.II/classSolverControl.html>, there 
are already three derived classes of SolverControl. You will need to create 
a fourth one that does what you want.

Best,

Bruno

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/65635c6e-6543-4fc2-8ee8-563921a0ea98n%40googlegroups.com.

Reply via email to