Commit Graph

929 Commits

Author SHA1 Message Date
ulrikey
92b133ebb1 added print statement to indicate when aggressive coarsening is used 2006-11-20 17:03:52 +00:00
kolev
a468788fce Fixed a typo. 2006-11-20 13:54:43 +00:00
kolev
61b8ed74f6 Added AME -- a new Maxwell eigensolver based on AMS and LOBPCG. 2006-11-16 00:47:08 +00:00
kolev
899ea166b1 Fixed a typo in the comments. 2006-11-15 15:02:21 +00:00
falgout
403ea05783 Add '_hypre_' prefix to internal headers for utilities, struct, and sstruct. 2006-11-15 01:08:13 +00:00
kolev
9ee452e699 Added a helper function, HYPRE_AMSConstructDiscreteGradient(), which can
be used to construct the discrete gradient matrix based on some edge and
vertex information. This will be used to simplify the use of AMS in some
user codes (ALE3D).
2006-11-14 22:40:36 +00:00
baker59
21f1312b9a Changed the call to hypre_MatvecCommPkgCreate(A) to work for both
the standard and AP case (instead of 2 separate functions).
2006-11-06 18:58:03 +00:00
kolev
f66d644c6b Replaced the coarsest grid solves in AMS, since the matrix there
may be singular, as reported by a user on thunder.
2006-10-26 22:10:44 +00:00
painter
d1de96bbb9 don't try to destroy a null pointer 2006-10-25 21:58:42 +00:00
hill66
65ee80ab40 Error correction for using hypre_* lapack routines. 2006-10-25 21:56:20 +00:00
hill66
dc7dc95e81 Corrections made to use internal blas/lapack routines. 2006-10-20 15:45:21 +00:00
ulrikey
0e3335e428 fixed hypre_error problem. If max_its is reached and tol = 0, it is not an error. 2006-10-20 15:17:36 +00:00
kolev
52e99643e3 Added a check for convergence and corrected the iteration counting. 2006-10-16 17:07:53 +00:00
kolev
3ef54fdb79 Small improvments in AMS based on user input. 2006-10-12 22:08:32 +00:00
ulrikey
2cb28721c4 eliminated use of finest grid options, i.e. no. of sweeps, relax_type on finest grid 2006-10-06 22:12:55 +00:00
hill66
9dd4851503 Added interface for HYPRE_ParCSRPCGSetLogging 2006-10-06 21:27:12 +00:00
baker59
ced7c4226c Removed ";" from the end of the "if" line - tricky bug! 2006-10-03 17:43:59 +00:00
baker59
9e2285e833 Error in print file function - file length error given if filename > 256. 2006-10-03 17:37:06 +00:00
hill66
402d34179c Updated license info. 2006-09-22 22:06:21 +00:00
ulrikey
1105a9421e improved efficiency for interpolation, added FF1 interpolation (interp_type = 12) 2006-09-22 14:40:09 +00:00
ulrikey
5b34b5f649 changed order of statements to allow compilation on IBM machines 2006-09-21 15:26:09 +00:00
hill66
2e4c979a62 Moved initial error checks after declarations to resolve warning messages of mixed code and declarations. 2006-09-20 15:55:57 +00:00
ulrikey
5d70c6cd87 added BiCGSTAB to the reference manual. 2006-09-14 23:32:12 +00:00
ulrikey
7de4b8ecf7 removed interp_type 200. The default should be 0 for classical interpolation. 2006-09-14 22:51:03 +00:00
ulrikey
420b385cd7 removed 'ierr's and replaced them by hypre_error_flag 2006-09-14 22:05:34 +00:00
ulrikey
ec42a98133 added error codes 2006-09-14 21:36:38 +00:00
ulrikey
9fd9306ff6 changed print to file "a" to print to standard output and increased print level
for this to happen
2006-09-14 21:36:17 +00:00
hill66
a86f43e70f Moved declarations at line 2295 to line 2067 to resolve warning messages about
mixed declarations and code.
2006-09-11 17:01:06 +00:00
ulrikey
70f040ebad eliminated the possibilty to set relaxation on the finest grid and have
statistics reflect this
2006-09-08 23:40:56 +00:00
ulrikey
d9e07eeeaa included ParCSR Hybrid solver into reference manual 2006-09-08 23:20:44 +00:00
ulrikey
495da48965 fixed memory leak 2006-09-08 23:01:12 +00:00
ulrikey
d54a6b9975 update compatible relaxation routines to use CG for relaxation and included
copyright statements for some files
2006-09-08 22:10:10 +00:00
ulrikey
b03cd4c578 removed C++ style comment 2006-09-08 14:23:37 +00:00
ulrikey
5f49822266 added new long range interpolation routine: standard, extended and FF interpolation 2006-09-07 22:42:31 +00:00
ulrikey
68d1b69275 extended truncation routine to include parameter P_max_elmts (allow to
truncate, so only P-max_elmts absolute largest weights are kept)
added new long range interpolation routines
2006-09-07 22:41:38 +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
baker59
3a6f06cdf4 Need to include parcsr_mv.h instead of par_vector.h (due to dependencies - par vectors now have an assumed partition object in them). 2006-08-08 19:05:48 +00:00
hill66
0936064c98 Updated copyright & license info. 2006-08-02 22:32:43 +00:00
ulrikey
36e58bcebf removed some functions from the reference manual 2006-08-01 16:50:47 +00:00
kolev
2e170e6100 Updates in the AMS documentation. 2006-07-27 23:37:00 +00:00
hill66
e5ec2c6dec Modified HEADER to include LGPL (license) info. 2006-07-27 23:26:57 +00:00
hill66
f81979afc8 Added absolute value when defining offd_j to resolve negative index. 2006-07-25 23:11:16 +00:00
kolev
cd1beada73 Fixed a typo. 2006-07-25 21:54:34 +00:00
hill66
9e54f927d3 Updated to enable building shared libraries. 2006-07-25 17:27:34 +00:00
ulrikey
9683ae3dbb fixed memory leak 2006-07-10 18:16:28 +00:00
kolev
ad918a9fd5 A small fix to AMS. 2006-07-07 19:16:24 +00:00
kolev
68fb4c055f Added an Auxiliary space Maxwell Solver (AMS). 2006-07-06 21:46:55 +00:00
ulrikey
0907c776df fixed a typo 2006-06-19 14:53:06 +00:00
chtong
be7469f5a0 Check the amg ABlockArray before destroying it, since in some
cases one may create an AMG object and then destroy it without
calling setup nor solve.
2006-06-15 19:27:26 +00:00
painter
b93ab6499a plug memory leak 2006-06-13 21:55:51 +00:00
ulrikey
df8a4ace2c fixed various bugs 2006-06-13 20:37:48 +00:00
ulrikey
46bc02ab06 initialized num of iterations to be 0 at the beginning of the solve 2006-06-13 17:34:30 +00:00
ulrikey
04ceb1465f changed the hybrid again to work with Kull. Setup is now empty, everything takes place
in the solve, without continually creating and destroying the solvers if the hybrid is
to be reused, also the preconditioner is stored and can be reused.
2006-06-13 17:21:41 +00:00
falgout
c9962329a3 Added some additional debugging code at the end for printing the matrices on all
grid levels.  It is commented out by default.
2006-06-09 18:26:25 +00:00
ulrikey
82272a6c9e changed routine to perform every stop even if tol = 0 2006-06-08 18:07:49 +00:00
ulrikey
b5087aa2de changed the hybrid to be able to reuse preconditioner without having to set it up again,
also added various new options, such as aggressive coarsening and systems AMG versions
2006-06-06 19:56:34 +00:00
painter
8becdcc6a3 delete obsolete code 2006-05-30 23:35:26 +00:00
painter
110ef9417b fix errors related to Jacobi interpolation 2006-05-24 23:37:53 +00:00
painter
b7d0af8ce9 set experimental weight to 1, minor changes in comments and output 2006-05-08 23:12:46 +00:00
kolev
7c0cf6b6a7 New versions of protos and the headers scripts. 2006-05-02 21:28:57 +00:00
painter
c2a3a97612 Jacobi iteration will not add connections between
matrix elements coming from different functions of the original problem
2006-05-01 22:55:47 +00:00
ulrikey
76d64380da fixed bug 2006-04-27 15:02:07 +00:00
barrylee
7f5be32b97 Several fixes to Gauss-seidel relaxation: requests & status allocated
to (num_sends+num_recv).
2006-04-25 22:47:00 +00:00
ulrikey
e4f0f1d907 commented out some calls to undefined functions 2006-04-25 19:32:53 +00:00
ulrikey
ab1d47bbef added preliminary parallel compatible relaxation routine. 2006-04-25 19:25:31 +00:00
ulrikey
6f4b834288 added and moved definitions 2006-04-20 22:18:52 +00:00
painter
fb2dd9c271 minor cleanup 2006-04-20 17:26:57 +00:00
ulrikey
407e5fd957 added missing declarations for par_relax.c
deleted definitions for Blas
2006-04-20 15:22:36 +00:00
painter
9ce2f84ebc Jacobi interpolation available for BoomerAMG 2006-04-18 22:52:44 +00:00
falgout
48948a1b8c Added code (commented out by default) to print AMG coarsening information, and
added a matlab file to visualize the coarse grids.  This currently assumes a
structured 2D nxn grid, but could easily be extended to unstructured 2D grids.
2006-04-15 21:06:55 +00:00
hill66
5c13c5dc49 Changed comment lines to be /*...*/ rather than //....// to resolve warning errors. 2006-03-20 18:49:00 +00:00
ulrikey
9432b78b12 changed print statements to eliminate strict-checking warnings 2006-03-17 15:48:08 +00:00
hysom
9833a5b020 altered three statements to instute reference counting. 2006-03-16 22:20:54 +00:00
ulrikey
3be07ba819 fixed memory leak 2006-03-15 00:42:05 +00:00
ulrikey
850dd4f6b4 fixed various bugs and added new parameter options 2006-03-14 23:55:06 +00:00
ulrikey
0d244a4531 added changes for parallel CR algorithm 2006-03-14 15:47:48 +00:00
ulrikey
cf7e7b2855 Added compatible relaxation coarsening (one proc only). 2006-03-09 14:32:07 +00:00
ulrikey
a08153c2e2 added compatible relaxation on one proc 2006-03-07 23:09:30 +00:00
hill66
2a22dc622e Updated to be compatible with C versions. 2006-03-03 18:40:28 +00:00
hill66
a865392431 Corrected argument type errors. 2006-02-08 17:52:48 +00:00
hill66
1f7c60e701 Updated fortran routines to be consistent with C routines. 2006-02-08 17:41:26 +00:00
kolev
f458e748b9 A new system for handling the error codes in hypre. 2006-02-06 23:49:24 +00:00
hill66
b7f1e167fb Added HYPRE_BoomerAMGGetResidual 2006-01-31 17:49:13 +00:00
barrylee
2cda1367bf Had to add a signature for
HYPRE_BoomerAMGGetResidual
Was not getting accessible to users.
2006-01-23 23:49:16 +00:00
ulrikey
d07fe7fd02 used doubles for global number of nonzeros to avoid integer overflow 2006-01-05 21:48:39 +00:00
baker59
b19d22bd3e Updated the fortran interfaces to include all of the functions in HYPRE_parcsr_amg.c 2005-12-22 22:41:36 +00:00
ulrikey
2e9ffbeacd removed unnecessary variables or made correction.` 2005-12-01 15:57:21 +00:00
baker59
7cc42c3549 Added a new block interpolation option. 2005-11-23 00:05:13 +00:00
baker59
69c7dfbdc8 Fixed a typo - line 282 - to check to see if PArray is null before destroying. 2005-11-22 23:46:06 +00:00
kolev
e7c7f92f8d Extended the RAP procedure, so it works for rectangular matrices
R, A and P.  If the result is a square matrix it is guaranteed that
the first entry in each row (of the diag part) is the diagonal one.
2005-11-22 22:10:21 +00:00
baker59
70303eac73 Added functionality for nodal interpolation and relaxation for systems of equations. 2005-11-15 23:37:37 +00:00
ulrikey
560311b428 added the possibility of computing weights for multipass operation by
separating positive and negative off diagonal elements
2005-11-10 23:26:05 +00:00
ulrikey
9264187788 made a change to how SGS was treated 2005-11-10 16:51:03 +00:00
baker59
9cc24a3195 Modified the min default values for printing - they weren't large enough for some of the big problems. 2005-11-08 17:41:35 +00:00
baker59
0c7f9f7a99 Fixed printing of operator information for NO_GLOBAL_PARTITION option. 2005-11-04 19:52:06 +00:00
baker59
069f6702a6 Fixed bugs with HYPRE_NO_GLOBAL_PARTITION code. 2005-11-02 01:14:31 +00:00
baker59
08a6741c76 Fixed a memory leak for HYPRE_NO_GLOBAL_PARTITION option. 2005-10-24 22:11:33 +00:00
ulrikey
1f5287dc99 removed mysterious invisible 'ctrl-M's 2005-10-13 15:43:56 +00:00