MFEM v2.0
solvers.hpp
Go to the documentation of this file.
00001 // Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at
00002 // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights
00003 // reserved. See file COPYRIGHT for details.
00004 //
00005 // This file is part of the MFEM library. For more information and source code
00006 // availability see http://mfem.googlecode.com.
00007 //
00008 // MFEM is free software; you can redistribute it and/or modify it under the
00009 // terms of the GNU Lesser General Public License (as published by the Free
00010 // Software Foundation) version 2.1 dated February 1999.
00011 
00012 #ifndef MFEM_SOLVERS_METHODS
00013 #define MFEM_SOLVERS_METHODS
00014 
00020 void CG ( const Operator &A, const Vector &b, Vector &x,
00021           int print_iter=0, int max_num_iter=1000,
00022           double RTOLERANCE=10e-12, double ATOLERANCE=10e-24);
00023 
00024 
00032 void PCG ( const Operator &A, const Operator &B, const Vector &b,Vector &x,
00033            int print_iter=0, int max_num_iter=1000,
00034            double RTOLERANCE=10e-12, double ATOLERANCE=10e-24, int save = 0);
00035 
00037 int GMRES(const Operator &A, Vector &x, const Vector &b,
00038           const Operator &M, int &max_iter,
00039           int m, double &tol, double &atol, int printit);
00040 
00045 int aGMRES(const Operator &A, Vector &x, const Vector &b,
00046            const Operator &M, int &max_iter,
00047            int m_max, int m_min, int m_step, double cf,
00048            double &tol, double &atol, int printit);
00049 
00051 int BiCGSTAB(const Operator &A, Vector &x, const Vector &b,
00052              const Operator &M, int &max_iter, double &tol,
00053              double atol, int printit);
00054 
00056 void SLI (const Operator &A, const Operator &B,
00057           const Vector &b, Vector &x,
00058           int print_iter=0, int max_num_iter=1000,
00059           double RTOLERANCE=10e-12, double ATOLERANCE=10e-24);
00060 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines