16 #ifndef dealii_solver_selector_h 17 #define dealii_solver_selector_h 90 template <
typename VectorType = Vector<
double>>
120 template <
class Matrix,
class Preconditioner>
125 const Preconditioner &precond)
const;
132 select(
const std::string &name);
196 <<
"Solver " << arg1 <<
" does not exist. Use one of " 250 template <
typename VectorType>
259 template <
typename VectorType>
268 template <
typename VectorType>
269 template <
class Matrix,
class Preconditioner>
274 const Preconditioner &precond)
const 279 solver.
solve(A, x, b, precond);
284 solver.
solve(A, x, b, precond);
289 solver.
solve(A, x, b, precond);
294 solver.
solve(A, x, b, precond);
299 solver.
solve(A, x, b, precond);
304 solver.
solve(A, x, b, precond);
312 template <
typename VectorType>
321 template <
typename VectorType>
325 return "richardson|cg|bicgstab|gmres|fgmres|minres";
330 template <
typename VectorType>
340 template <
typename VectorType>
350 template <
typename VectorType>
360 template <
typename VectorType>
370 template <
typename VectorType>
380 template <
typename VectorType>
void set_control(SolverControl &ctrl)
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const PreconditionerType &preconditioner)
SolverCG< VectorType >::AdditionalData cg_data
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const PreconditionerType &preconditioner)
void solve(const Matrix &A, VectorType &x, const VectorType &b, const Preconditioner &precond) const
static ::ExceptionBase & ExcSolverDoesNotExist(std::string arg1)
SolverBicgstab< VectorType >::AdditionalData bicgstab_data
SmartPointer< SolverControl, SolverSelector< VectorType > > control
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const PreconditionerType &preconditioner)
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const PreconditionerType &preconditioner)
static std::string get_solver_names()
virtual ~SolverSelector() override=default
SolverGMRES< VectorType >::AdditionalData gmres_data
#define DeclException1(Exception1, type1, outsequence)
#define Assert(cond, exc)
SolverRichardson< VectorType >::AdditionalData richardson_data
#define DEAL_II_NAMESPACE_CLOSE
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const PreconditionerType &preconditioner)
void set_data(const typename SolverRichardson< VectorType >::AdditionalData &data)
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const PreconditionerType &preconditioner)
#define DEAL_II_NAMESPACE_OPEN
void select(const std::string &name)
SolverFGMRES< VectorType >::AdditionalData fgmres_data
SolverMinRes< VectorType >::AdditionalData minres_data