Commit Graph

151 Commits

Author SHA1 Message Date
schroder2
75b8511941 Fixed compiler warning about mixing code and variable declarations in
bicgstab.c.
2011-11-08 16:19:33 +00:00
schroder2
3882194573 Changes to bicgstab to resolve issue 760. Essentially when the residual is
updated exactly inside of BiCGSTAB, then a divide by zero occurs.  Also, the
residual norm check was moved to occur immediately after the residual update.
2011-11-07 23:19:08 +00:00
kolev1
a09d1e4a6f Fixed compiler warning with gcc 4.2.1. 2011-09-29 18:10:26 +00:00
kolev1
aa55608ea9 Fixed autotest errors from the C++ compiler on the new mac regression tests. 2011-09-29 00:15:09 +00:00
kolev1
320aff47cd Updated the AMS documentation in the User and Reference Manuals. 2011-01-27 19:49:44 +00:00
falgout
68b7b5518a Changed 'long' to either 'hypre_longint' or 'HYPRE_Int'. 2011-01-27 19:46:14 +00:00
falgout
e3181f26b1 Added 64 bit feature using HYPRE_Int (see tracker [issue489] for details).
Changed MPI routines to hypre_MPI routines.
Added hypre_printf, etc. routines.
Added AUTOTEST tests to look for 'int' and 'MPI_' calls.
Added a new approach for the Fortran interface (not implemented everywhere yet).
2010-12-20 19:27:44 +00:00
falgout
a096e956b5 Added additional reference and user manual documentation for LOBPCG. 2010-01-29 22:32:52 +00:00
falgout
6fdb8c74fd Changed to install only one hypre lib file. 2010-01-29 01:40:29 +00:00
falgout
0d5b565145 Removed most of the ref docs for the storage-dependent Krylov routines. 2010-01-20 01:10:01 +00:00
ulrikey
2eaa2e2c6c rewrote comments for CGNR 2010-01-15 18:32:52 +00:00
ulrikey
b24ce86da6 added comments on how to use AMG with CGNR 2010-01-15 18:27:41 +00:00
falgout
dc6ae528b6 Added LOBPCG to the reference and user's manuals. 2010-01-15 01:12:16 +00:00
falgout
9f26a7739a Changed 'cp -fpd' to 'cp -fpPR' for better portability.
This should work on the Mac now in particular.
2010-01-14 18:17:53 +00:00
falgout
8ed12c2264 Added the release number to the names of hypre shared libraries (see [issue181]).
Also removed the HYPRE_LSI library because it was nearly identical to HYPRE.
2010-01-14 01:16:24 +00:00
kolev1
63ac55d142 Fixed a print statement. 2009-09-19 00:09:41 +00:00
kolev1
1354be1862 Fixed the printing of the final residual change in the residual-based stopping
criteria.
2009-09-02 20:22:36 +00:00
kolev1
4f9d2e11de Changed the recompute_residual_p option to behave like "restared CG".
This is more useful in practice than to keep the old search directions.
2009-07-20 21:28:14 +00:00
kolev1
4502255f79 Added two new features to PCG:
1) A new, residual-based stopping criteria ||r_old - r_new|| < rtol ||b|| which
   is activated with HYPRE_PCGSetResidualTol() and is designed to be used in
   high-accuracy computations with rtol <= 1e-16.

2) HYPRE_PCGSetRecomputeResidual(), which periodically recomputes the residual
   from scratch (r=b-Ax). This, again, can be useful in high-accuracy
   computations, but is potentially expensive and can lead to degraded
   convergence!
2009-07-20 00:16:39 +00:00
baker59
0bb8948b14 Bug in absolute tolerance parameter routine. 2009-06-05 17:43:45 +00:00
baker59
e71ae80471 Removed the AMG example for modifying the flexgmres preconditioner - now it is in ex5.c - where it belongs :) 2008-12-29 18:11:59 +00:00
ulrikey
5daffe8cad added ClearVector to bicgstab 2008-07-31 23:11:23 +00:00
falgout
b20a0fcb8d Changing the memory routine prototypes to use size_t 2008-07-23 01:11:19 +00:00
ulrikey
b39374690d replaced copyright headers 2008-07-18 01:34:48 +00:00
barrylee
88135316c8 Bug fix for preconditioned solves. 2008-07-10 21:38:56 +00:00
baker59
bbfdb3cddf Removed interface declarations for FlexGMRES and LGMREs SetStopCrit. 2008-05-27 16:57:05 +00:00
baker59
c52c6035dd Checking in a number of changes:
1) Added the FlexGMRES and LGMRES solvers to the IJ, Struct and SStruct
interfaces.

2) Added the absolute tolerance interface functions (for all Krylov
solvers) to the Struct and SStruct interfaces (including fortran).

3) Added the absolute tolerance interface functions to the IJ fortran
interface.

4) Added the absolute tolerance check to the AMG Hybrid solver.

5) Updated some documentation information in the interface header files.
2008-05-23 20:26:43 +00:00
baker59
91614bd743 Added absolute tolerance convergence check to PCG and BiCGStab (now work the same as GMRES). Left in some existing code for backwards compatibility. 2008-05-01 17:30:02 +00:00
baker59
0d32527875 Added absolute convergence tolerance stopping criteria to GMRES. 2008-04-25 23:27:23 +00:00
kolev
61121e62c3 Made sure that the hypre_F90_NAME_LAPACK/hypre_F90_NAME_BLAS macros are used correctly. See issue169. 2008-02-07 00:43:22 +00:00
ulrikey
f8f8bc2800 changed copyright statements to reflect new management 2007-11-15 16:03:16 +00:00
ulrikey
bd6b0dd47b changed copyright statement to reflect new management. 2007-11-13 19:16:06 +00:00
painter
b52bf2037c If the user requests it, and CG seems to have converged, recompute the
residual from scratch (as b-Ax) and use that to redo the convergence test.
2007-05-09 21:36:12 +00:00
baker59
d10dfd65c6 Fixed some bugs with the relative change test for GMRES. Also changed
the functionality so that the check is done within the restart cycle.

Added hypre_error_flag to gmres.c
2007-05-01 18:25:01 +00:00
barrylee
8b678a4073 Change order of sum calculations to avoid cancellation. Also added a better relative change test. 2007-04-13 17:09:33 +00:00
falgout
ea2f982353 Added a HYPRE_krylov.h include file and reference manual documentation. 2006-11-15 23:28:42 +00:00
falgout
403ea05783 Add '_hypre_' prefix to internal headers for utilities, struct, and sstruct. 2006-11-15 01:08:13 +00:00
baker59
e2c8e104c5 Minor blas problem fixed. 2006-11-02 23:20:36 +00:00
kolev
6a8739e048 Moved the LOBPCG include files after the (possible) inclusion of essl.h.
Previous order was creating problems with the lobpcg_BLASLAPACKFunctions
structure. See issue25 for more details.
2006-11-02 13:45:12 +00:00
hill66
1a51d7abd3 Changed format to only print 14 digits 2006-10-31 00:18:04 +00:00
painter
9001ca8013 fix header for printing convergence information if two_norm==0 2006-10-24 23:19:00 +00:00
hill66
dc7dc95e81 Corrections made to use internal blas/lapack routines. 2006-10-20 15:45:21 +00:00
hill66
402d34179c Updated license info. 2006-09-22 22:06:21 +00:00
hill66
b3e54b65d1 shared libraries enabled. 2006-08-29 15:45:05 +00:00
hill66
92a1558e24 Remove temporary directories created by libtool. 2006-08-15 22:27:32 +00:00
hill66
fb29a207c7 Updated to enable shared libraries. 2006-08-15 22:09:36 +00:00
hill66
0936064c98 Updated copyright & license info. 2006-08-02 22:32:43 +00:00
hill66
e5ec2c6dec Modified HEADER to include LGPL (license) info. 2006-07-27 23:26:57 +00:00
hill66
9e54f927d3 Updated to enable building shared libraries. 2006-07-25 17:27:34 +00:00
ulrikey
44cda2e292 initialize converged to 0 at the beginning of the Solve 2006-06-13 20:37:24 +00:00