Commit Graph

929 Commits

Author SHA1 Message Date
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
ulrikey
0a51c5656a corrected a problem that slowed down HMIS setup phase for large no. of procs 2005-10-11 18:07:48 +00:00
ulrikey
136fd43326 fixed potential bugs 2005-10-10 22:18:06 +00:00
hill66
d4ae673b66 Restore original version. 2005-10-10 22:14:42 +00:00
ulrikey
39a6b95f72 fixed some bugs 2005-10-10 22:10:44 +00:00
hill66
b16a135ca8 Removed extra newlines to resolve warning errors on gps. 2005-10-10 17:02:36 +00:00
ulrikey
57aa5d5e62 fixed bug 2005-10-07 23:10:04 +00:00
ulrikey
b4e4c3c5eb added aggressive coarsening and multipass interpolation 2005-10-07 22:22:45 +00:00
painter
d4fda3117a declare new *Get* functions 2005-09-29 20:35:05 +00:00
hill66
4a261fabd9 Modified to be compatible with changes for building blas and lapack options. 2005-09-26 22:01:42 +00:00
hill66
2250123320 Corrected typo. 2005-09-22 22:49:28 +00:00
hill66
cb5fbc4ca9 Removed unused variables and updated parcsr_ls.h to resolve warning errors. 2005-09-22 22:19:56 +00:00
painter
acfd027b7f lots of "get" functions mirroring existing "set" functions for parameters 2005-09-22 22:13:05 +00:00
painter
be7acacb93 add many "Get" functions corresponding to existing "Set" functions 2005-09-19 22:14:45 +00:00
painter
b3ffc18b33 change macro assert to hypre_assert 2005-09-12 18:32:10 +00:00
painter
e46297fbc3 change assert to hypre_assert 2005-09-12 17:22:32 +00:00
hill66
b1a2f1c818 Resolved warning errors. 2005-08-18 17:37:26 +00:00
hill66
106c0958e0 Resolved missing prototype warning errors. 2005-08-16 16:32:05 +00:00
hill66
d9f1a27bab Added removal of insure related files to clean target. 2005-08-15 23:01:21 +00:00
ulrikey
c34708decb fixed some meory leaks 2005-08-05 16:33:07 +00:00
ulrikey
46b11c50d1 fixed a bug 2005-08-04 20:52:38 +00:00
baker59
835d29be42 Modifications for HYPRE_NO_GLOBAL_PARTITION to work with systems. 2005-08-03 22:20:05 +00:00
baker59
74b565e2a9 Made a modification for HYPRE_NO_GLOBAL_PARTITION option to work with
system laplacian.
2005-08-03 22:19:21 +00:00
hill66
14572d5e24 Added fortran interfaces. 2005-07-28 16:44:25 +00:00
hill66
b881e0d545 Updated LOBPCG from A. Knyazev. 2005-07-21 15:57:26 +00:00
baker59
0ef11bad09 Changes for "HYPRE_NO_GLOBAL_PARTITION" option. 2005-07-08 20:42:14 +00:00
ulrikey
17e1f80703 eliminated the use of the global partitioning and improved efficiency 2005-07-07 21:21:56 +00:00
hill66
cb1bbb0798 Included fortran.h, needed to define NAME_BLAS macro. 2005-06-23 16:46:03 +00:00
hill66
b4410480d3 Corrected arg list for dgels & dpotrf 2005-06-23 15:50:24 +00:00
hill66
f4010b3747 Corrected hypre_F90_NAME_BLAS errors by removing 'int'. 2005-06-22 16:52:36 +00:00
painter
75364c73c1 1. BoomerAMG keeps track of the number of iterations accumulated over all
calls.  This is needed for user-level performance monitoring if it is a
preconditioner for a Krylov method such as PCG.  The regular iteration count
only tells you about the last time PCG invoked BoomerAMG.  There are ifdefs
so you can eliminate this if you like - remove #define CUMNUMIT.

2.  very minor code fixes, comments, etc.
2005-06-20 18:36:16 +00:00
painter
b1dc15a06f Two parameter-setting functions to work with the Babel interface (it only
sets one parameter at a time, can't properly call a function which sets
two parameters at once).
2005-06-20 18:28:59 +00:00
chtong
02e54fc9ea Add function definitions for new preconditioner. 2005-05-17 17:32:10 +00:00
chtong
f8739fa944 Major revision to debug this preconditioner. 2005-05-17 17:30:18 +00:00
chtong
9b9b8fde8b A bug fix. 2005-05-17 17:29:44 +00:00
chtong
6f4d773a58 Add 2x2 block preconditoner. 2005-05-11 00:13:47 +00:00
ulrikey
dc5b59190c fixed a bug in the systems Laplace generation routine 2005-04-22 22:35:13 +00:00
hill66
de94412a15 Moved from eigensolvers/parcsr_ls directory 2005-03-30 17:49:55 +00:00
ulrikey
2ea65db45b fixed a bug in direct interpolation 2005-03-18 19:02:11 +00:00
ulrikey
fad2020f99 fixed the direct interpolation for several functions and "unknown" approach 2005-03-18 18:00:52 +00:00
hill66
b71d8638e9 Removed unused variables and added parentheses around && within || to resolve
warning errors when in debug mode.
2005-03-17 23:26:07 +00:00
ulrikey
e92517501d added several examples: 2d rotated anisotropy and difconv with variable functions. 2005-03-15 23:23:38 +00:00
hill66
dd06906f59 Copy *.o files into lib directory. 2005-03-09 17:23:03 +00:00
ulrikey
852ad3b8ac corrected default for SCommPkgSwitch 2005-02-24 21:49:48 +00:00
hill66
ae3b8dd03f Added Euclid specific flags to resolve warning messages. 2005-02-01 18:06:12 +00:00
ulrikey
d06d0027e2 added a direct interpolation routine 2005-01-28 18:02:34 +00:00
ulrikey
992f2badfb added some print statements for new coarsenings 2005-01-28 18:02:10 +00:00
ulrikey
1c4552e2a5 added a vector Laplace problem to test systems AMG 2005-01-27 22:10:19 +00:00
ulrikey
86b7008a4a fixed a bug causing MPI errors 2005-01-27 22:08:16 +00:00
ulrikey
d13869c26b set the default for SCommPkgSwitch to 1. 2005-01-20 21:29:22 +00:00
hill66
5c09c14d8d Added back-slashes to comments needed for ref manual. 2005-01-19 18:54:17 +00:00
hill66
2f7c840795 New build system. 2005-01-10 19:03:38 +00:00
ulrikey
34e05749d7 fixed another bug in the nodal systems version 2004-12-28 00:12:23 +00:00
ulrikey
55d616629e fixed several bugs in the nodal AMG routines 2004-12-27 20:30:33 +00:00
ulrikey
009571d2e7 added Euclid, which got lost in one of the previous updates 2004-12-11 00:21:00 +00:00
ulrikey
30ad842a67 fixed a bug 2004-12-11 00:01:23 +00:00
hill66
90fa841e0d Corrections/updates to config/build changes. 2004-12-08 18:13:21 +00:00
hill66
91102d6440 Updating build system 2004-12-01 18:56:39 +00:00
ulrikey
65c43d11a7 deleted two unnecessary lines 2004-11-23 18:02:42 +00:00
ulrikey
12bd5d9baa potentially improved performance of coarsening and interpolation by using
different Commpkg for strength matrix S. Added a new parameter S_commpkg_switch
which sets the smallest strength threshold, for which this capability is used.
This required the addition of a new parameter (int array that maps S-indices
to A-indices) to the interpolation routine.
Note that while this change does not affect Falgout, CLJP, PMIS and HMIS
convergence behaviour and complexities, it affects ruge, ruge2b and ruge3c.
This can be avoided by setting S_commpkg_switch to 1.
2004-11-19 22:55:52 +00:00
ulrikey
68e06f182c included HMIS coarsening (coarsen_type = 10) and
Ruge_stueben one pass only (coarsen_type = 11)
2004-10-07 21:38:38 +00:00
hill66
e7b95fe438 Newly built with configure. 2004-09-29 17:28:38 +00:00
hill66
f8dad83956 Commented out two prototypes that were only used by and duplicated in the driver codes. 2004-09-20 23:22:05 +00:00
ulrikey
a1bd0e26d2 fixed a bug 2004-08-19 20:24:02 +00:00
hill66
0c72f51220 Update to use variable LIBG2C for setting -lg2c 2004-07-29 21:49:40 +00:00
ulrikey
93187f3ce6 added pmis coarsening routine 2004-05-06 23:14:46 +00:00
ulrikey
fed3af29dd fixed a bug that caused different results for 1 than for many procs 2004-05-05 01:24:46 +00:00
ulrikey
0b6be5147a added nodal version, which uses nodal coarsening, but interpolation used for
the "unknown" approach.
2004-05-05 01:12:31 +00:00
ulrikey
6fa4dd2ed6 fixed a bug which might cause different results if running 1 proc vs. multiple
procs for problems which should generate the same results
2004-05-05 01:11:39 +00:00
ulrikey
c2cac0e46c new routines for nodal systems version 2004-05-05 01:09:04 +00:00
treadway
a586b9393f removed unneeded BABEL variables 2004-02-21 01:36:17 +00:00
treadway
3d058d5fd8 *** empty log message *** 2004-02-10 02:14:57 +00:00
treadway
d5799af576 added docs and tools directory conditionals 2004-01-22 20:31:58 +00:00
ulrikey
7206941a3e fixed a bug 2004-01-20 19:08:09 +00:00
treadway
55465d7516 updated automake, and aclocal 2004-01-15 01:55:20 +00:00
treadway
7b8c411606 hopefully the final dependencies format correction 2004-01-14 01:20:14 +00:00
treadway
c95f94d4b4 updated header file dependences 2004-01-13 01:55:03 +00:00
treadway
75bd93200a disabled dependency tracking, added brain dead include file dependents
testing in Makefiles
2004-01-10 02:53:11 +00:00
treadway
679b6188ed new bootstrap 2004-01-07 02:01:19 +00:00
treadway
7f10d02523 new bootstrap 2004-01-01 01:14:59 +00:00
treadway
a1a1df034d added STATICONLY conditional 2003-12-19 23:04:01 +00:00
treadway
d4ad294d1e added dependency tracking 2003-12-15 21:05:23 +00:00
treadway
af1a4f0abd automake changes 2003-12-11 00:42:22 +00:00
treadway
19c11deb59 using new fortran name mangling 2003-12-11 00:32:51 +00:00
ulrikey
178e80fef1 added new coarsen type (7), which is essentially CLJP, but ensures that random
numbers for measures are chosen exactly as in one processor case, if the points
are ordered in the same way.
2003-12-04 18:50:42 +00:00
chow
ff35058c74 Removed prototypes for LAPACK routines (these prototypes, if they
are needed (when the hypre-lapack is used) should be centralized
somewhere).
2003-11-26 23:36:06 +00:00
treadway
1c4c6dc16f if up VPATH for configure generated includ file HYPRE_utilities.h 2003-11-14 22:18:07 +00:00
treadway
586f3fe85e cleanup implicit declaration of function `Euclid_dhInputHypreMat' 2003-11-07 18:14:00 +00:00
treadway
c654ac4f55 fixed implicit declaration of function `Euclid_dhInputHypreMat' 2003-11-06 18:52:41 +00:00
treadway
67df1510ab added Parser_dh.h and TimeLog_dh.h for protypes 2003-11-05 22:25:45 +00:00
treadway
ff757d0364 added return type to hypre_BoomerAMGSetSmoothType and friends 2003-11-05 22:13:58 +00:00
ulrikey
45cac06205 Changed some ints to doubles to avoid negative complexities 2003-10-10 00:37:31 +00:00
ulrikey
fa59f56a2a added new interpolation, useful for hyperbolic equations,
which treats fine weak connections like fine strong connections,
this interpolation can be used by setting interp_type = 2
2003-09-09 23:58:39 +00:00
falgout
216ebdb25f Fixed some DOC++ problems. 2003-08-07 18:20:34 +00:00
chow
d55640a772 Added ParaSails preconditioner to Fortran interface. 2003-07-29 17:09:43 +00:00
chow
687085a68d Fixed documentation for HYPRE_ParaSailsBuildIJMatrix. 2003-07-24 22:01:53 +00:00
painter
9fb9779244 Added support of the scalar-argument Set functions which Ulrike Yang wrote
(c.f. HYPRE_parcsr_amg.c) to replace some array-argument Set functions which had
potential memory management problems.
2003-07-17 23:58:54 +00:00
treadway
ee520ebf59 automake configureation files 2003-07-16 00:09:23 +00:00
ulrikey
18c038e6ac corrected a bug 2003-07-07 16:40:18 +00:00
ulrikey
c37e6131f8 added documentation 2003-07-07 16:19:49 +00:00
painter
d81294131e Run "headers" to get all function declarations in here. 2003-06-27 17:27:28 +00:00