MFEM v4.7.0 Finite element discretization library
Searching...
No Matches
solvers.cpp File Reference

Go to the source code of this file.

namespace  mfem

## Functions

void mfem::SLI (const Operator &A, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, real_t RTOLERANCE=1e-12, real_t ATOLERANCE=1e-24)
Stationary linear iteration. (tolerances are squared)

void mfem::SLI (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, real_t RTOLERANCE=1e-12, real_t ATOLERANCE=1e-24)
Preconditioned stationary linear iteration. (tolerances are squared)

void mfem::CG (const Operator &A, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, real_t RTOLERANCE=1e-12, real_t ATOLERANCE=1e-24)
Conjugate gradient method. (tolerances are squared)

void mfem::PCG (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, real_t RTOLERANCE=1e-12, real_t ATOLERANCE=1e-24)
Preconditioned conjugate gradient method. (tolerances are squared)

void mfem::GeneratePlaneRotation (real_t &dx, real_t &dy, real_t &cs, real_t &sn)

void mfem::ApplyPlaneRotation (real_t &dx, real_t &dy, real_t &cs, real_t &sn)

void mfem::Update (Vector &x, int k, DenseMatrix &h, Vector &s, Array< Vector * > &v)

int mfem::GMRES (const Operator &A, Vector &x, const Vector &b, Solver &M, int &max_iter, int m, real_t &tol, real_t atol, int printit)
GMRES method. (tolerances are squared)

void mfem::GMRES (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, int m=50, real_t rtol=1e-12, real_t atol=1e-24)
GMRES method. (tolerances are squared)

int mfem::BiCGSTAB (const Operator &A, Vector &x, const Vector &b, Solver &M, int &max_iter, real_t &tol, real_t atol, int printit)
BiCGSTAB method. (tolerances are squared)

void mfem::BiCGSTAB (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_iter=0, int max_num_iter=1000, real_t rtol=1e-12, real_t atol=1e-24)
BiCGSTAB method. (tolerances are squared)

void mfem::MINRES (const Operator &A, const Vector &b, Vector &x, int print_it=0, int max_it=1000, real_t rtol=1e-12, real_t atol=1e-24)
MINRES method without preconditioner. (tolerances are squared)

void mfem::MINRES (const Operator &A, Solver &B, const Vector &b, Vector &x, int print_it=0, int max_it=1000, real_t rtol=1e-12, real_t atol=1e-24)
MINRES method with preconditioner. (tolerances are squared)

int mfem::aGMRES (const Operator &A, Vector &x, const Vector &b, const Operator &M, int &max_iter, int m_max, int m_min, int m_step, real_t cf, real_t &tol, real_t &atol, int printit)

void mfem::MinimumDiscardedFillOrdering (SparseMatrix &C, Array< int > &p)

void mfem::sormqr_ (char *, char *, int *, int *, int *, float *, int *, float *, float *, int *, float *, int *, int *)

void mfem::sgeqrf_ (int *, int *, float *, int *, float *, float *, int *, int *)

void mfem::sgemv_ (char *, int *, int *, float *, float *, int *, float *, int *, float *, float *, int *)

void mfem::strsm_ (char *side, char *uplo, char *transa, char *diag, int *m, int *n, float *alpha, float *a, int *lda, float *b, int *ldb)

void mfem::dormqr_ (char *, char *, int *, int *, int *, double *, int *, double *, double *, int *, double *, int *, int *)

void mfem::dgeqrf_ (int *, int *, double *, int *, double *, double *, int *, int *)

void mfem::dgemv_ (char *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *)

void mfem::dtrsm_ (char *side, char *uplo, char *transa, char *diag, int *m, int *n, double *alpha, double *a, int *lda, double *b, int *ldb)