DUNE-ACFEM (2.5.1)

Dune::ACFem::SolverSelector< DiscreteFunctionType, OperatorParts, family > Struct Template Reference

Select one appropriate (linear) solver depending on whether the model is symmetric and/or semidefinite. More...

#include <dune/acfem/common/solverselector.hh>

Detailed Description

template<class DiscreteFunctionType, class OperatorParts, SolverFamily::Family family = SolverFamily::family>
struct Dune::ACFem::SolverSelector< DiscreteFunctionType, OperatorParts, family >

Select one appropriate (linear) solver depending on whether the model is symmetric and/or semidefinite.

This is quite simplistic. Also, the petsc solver-family can be configured at run-time, the ISTL not (at least it is not implemented in that way in Dune::Fem).

Up to now, we have the following available:

bare Dune::Fem

  • only PCG

Dune::ISTL

  • LOOP (fixed point, probably)
  • PCG
  • MINRes
  • BICGStab
  • GMRES

PETSC

  • PCG
  • BICG
  • BICGSTAB
  • PCG

Like the DiscreteFunctionSelector this is a convenience structur in order not to bloat other places of the code with (complicated) preprocessor constructs.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 29, 22:29, 2024)