Weixiong,

Am Samstag, 10. Juni 2017 12:54:50 UTC+2 schrieb Weixiong Zheng:
>
> Hi all,
>
> I am developing something based on petsc solvers and preconditioners. We 
> actually expect to invoke user-requested solvers and preconditioners from 
> the input file.
>
> I saw selector classes for deal.II based solvers and preconditioners but 
> didn't find any for petsc wrappers.
>
> I am wondering if there's some easy way or I do have to mimic those 
> selector classes.
>
At the moment there is no class for PETSc solvers corresponding to 
SolverSelector, but it should be possible to mimic this class.
If you come up with something, we happily take a patch. :-)
As mentioned in the documentation for PETScWrappers::SolverBase[1] you can 
also just set the desired solver and preconditioner by command line 
arguments.

Best,
Daniel

[1] 
https://www.dealii.org/8.5.0/doxygen/deal.II/classPETScWrappers_1_1SolverBase.html

-- 
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