Commit Graph

198 Commits

Author SHA1 Message Date
falgout
c4ae5f02f8 Changed fortran interface port to (hopefully) support CRAY fortran
compilers and any other fortran compilers that mangle subroutine
names using all caps.
2000-10-09 22:32:34 +00:00
falgout
a500203e40 Removed the F90 prototypes from the header files because they aren't
needed and don't make sense.
2000-10-09 20:59:23 +00:00
painter
bf9189804b Conjugate gradient is now implemented by a file in the new directory krylov.
The string "Struct" has been inserted into names of vector operations.
2000-10-09 16:28:30 +00:00
falgout
5cd7aeb22b Lots of documentation cleaning. 2000-09-21 09:31:29 +00:00
falgout
ad9a961eb7 Removed pthreads port of Struct codes (and PTHREADS_MANGLING stuff from
Makefiles).  To be re-added later (possibly) in a cleaner form.
Added DOC++ reference comments to Struct '.h' files.
Changed names of Struct include and lib files.
Removed 'stencil' argument from interface for StructVectorCreate.
2000-08-28 22:21:33 +00:00
falgout
73e84ffdc3 Fixed strict-checking compile warnings. 2000-08-18 15:55:20 +00:00
falgout
eb7043aae5 Fixed uninitialized R compiler warning. 2000-07-07 17:21:46 +00:00
falgout
6b6d40c9a1 Removed link related symbols, since not needed. 2000-06-26 01:48:33 +00:00
falgout
4fad7676bd Changed the way opaque structures are done to fix problem with g++. 2000-04-19 21:31:17 +00:00
falgout
33ffbfb127 Rewrite of SparseMSG with local weighting to handle anisotropies.
Not yet fully tested and debugged.
2000-04-19 16:23:11 +00:00
jjones
efb722d5fe Changed implementation of convergence test from
||r|| < tol^2 * ||b||
to
    ||r|| / ||b|| < tol^2

in pcg.c smg_solve.c and pfmg_solve.c

This addresses the bug Marty Marinak saw when ||b||*tol^2
evaluates to zero.
2000-03-28 22:26:19 +00:00
falgout
b9a95df31b Fixed some comments about coarsening factors. 2000-03-21 21:33:39 +00:00
falgout
05006d2259 - Added new StructCoarsen routine to improve setup phase scalability.
- Added generic semicoarsening interpolation/restriction routines,
  and changed PFMG/SMG to use (no more IntAdd in SMG).
- Modified SMG solve code to always do one V-cycle.  PFMG/SMG solve
  routines now look nearly identical.
- SparseMSG is broken in this revision.
2000-03-21 16:50:14 +00:00
falgout
5afc0fdb5e Removed P() macro from prototypes 2000-03-08 23:02:20 +00:00
jjones
983b0bd9f8 Added code to set interpolation to zero if the corresponding stencil
entry is zero. This fixes a bug Louis Howell saw in AMR where there
were non-zero interpolation weights, and thus non-zero coarse grid
operators, reaching outside the domain.
1999-11-23 17:25:29 +00:00
lambda
4ee7e162d0 Moved fortran.h to utilities directory, and removed it from HEADERS list in Makefile.in 1999-10-22 20:56:11 +00:00
jjones
5b4d710795 Added code to prevent an additional iteration when the exact
solution is reached.
1999-09-22 20:13:13 +00:00
falgout
f7e05cd492 Fixed --with-pthreads compile problem introduced with last checkin. 1999-09-07 15:11:50 +00:00
falgout
9a1965404d Changed function names to start with "class name". 1999-09-07 07:03:59 +00:00
dwalker
45ba64290d included HYPRE_config.h, added top level dir to -I in makefile, removed HYPREDEFS 1999-09-02 18:20:29 +00:00
falgout
338da83dbb Changed 'New/Initialize' to 'Create' and changed 'Free/Finalize' to 'Destroy'. 1999-08-31 23:31:24 +00:00
falgout
545fefe118 Fixed convergence problem when jump is greater than 0.
Re-indented lines greater than 80 columns.
1999-08-26 18:45:47 +00:00
falgout
4ae006c404 Fixed a bug with freeing up matrices when jump is greater than 0. 1999-08-26 15:38:04 +00:00
falgout
779ee4b34b Added preliminary version of a "sparse" multiply semicoarsened grid
method (SparseMSG).
1999-08-19 16:33:10 +00:00
falgout
add91eb17b Fixed a DOC++ comment. 1999-08-17 15:22:42 +00:00
falgout
21845df0a0 Fixed install target to eliminate potential copy bug. 1999-08-13 07:55:54 +00:00
falgout
6a9fa7af16 Fixed problem with automatic generation of pthreads wrapper functions
not handling pointer-to-function types correctly.  The fix should be
considered temporary, and it involves adding a typedef to the public
header file with a lower-case 'hypre_' prefix.
1999-08-05 15:44:59 +00:00
jjones
9bc956693b Modified PFMG to skip relaxation of certain levels - makes
it behave more like a full coarsening method. This results
in a faster algorithm for isotropic problems. Currently
have set defaults to relax on all levels, so code runs as
before. To skip levels, use the SetSkipRelax routines
to set skip_relax flag to 1.
We should be able to save a bit of storage by freeing up
operators on levels where no relaxation will be done.
I tried the obvious thing, the code ran fine, but purify
complained. Thus, the code I check in makes no attempt to
free these operators.
1999-08-04 23:57:24 +00:00
falgout
d2130cdc09 Changed BoxLoops to improve efficiency of both unthreaded and threaded runs. 1999-08-04 06:28:43 +00:00
dwalker
b7bbb2cc49 added loopk to private variables for threading 1999-07-30 19:59:08 +00:00
falgout
ac15746679 Took InitializeShell routines out of NewRAP and NewInterpOp routines
and put them into the PFMG_Setup and SMG_Setup code.  This makes the
NewRAP and NewInterpOp routines consistent (equivalent) in functionality
to the NewMatrix routine.
1999-07-27 17:53:26 +00:00
jjones
5c8fc6b0d0 Added code to allow periodicity in x. 1999-07-15 20:01:13 +00:00
falgout
fdd1075564 Added Jacobi solver. 1999-06-29 23:16:25 +00:00
dwalker
0c7c200fca Modified BoxLoops to allow compiler directives. Added Openmp capabilities
to .c files.
1999-06-15 23:54:59 +00:00
jjones
d634c07919 Added code to handle periodic bc in SMG 1999-06-04 21:55:53 +00:00
falgout
7fab661e0b Removed __STDC__ symbol generated by mkproto by introducing a
new 'protos' script in the utilities directory.
1999-05-08 00:26:20 +00:00
baldwin
bf5d6078d7 Added new Fortran interface. 1999-05-04 22:46:33 +00:00
falgout
317f6325eb Changed SetPrecond prototypes so that they compile without warnings in C++. 1999-04-23 21:53:16 +00:00
falgout
74566a8cd0 Fixed divide-by-zero problem in dxyz computation. 1999-04-02 23:35:26 +00:00
falgout
c7ac139a2a Moved box_pthreads.h file into struct_matrix_vector.h through headers script. 1999-04-02 15:50:19 +00:00
falgout
dd34476d9f Fixed pthreads compile. 1999-04-02 15:27:34 +00:00
falgout
464b3678a4 Added capability to automatically select dxyz parameter. 1999-04-01 15:51:43 +00:00
falgout
0ece93f963 Added reference counting to major objects. 1999-04-01 00:41:34 +00:00
falgout
cb6cc32c00 Fixed ghost layer settings for symmetric problems. 1999-03-31 16:51:09 +00:00
dwalker
fe13d92db9 changed min and max to hypre_min and hypre_max 1999-03-30 22:20:48 +00:00
dwalker
e3f0428cd3 changed min and max to hypre_min hypre_max 1999-03-30 19:48:35 +00:00
falgout
9750c59a25 Fixed a memory leak when using multiple boxes per processor. 1999-03-25 21:21:53 +00:00
falgout
c4ff6434f5 Reworked Hybrid code to allow an arbitrary PCG solver as its second solver.
Fixed SMG and PFMG Finalize routines to work when no Setup has been done.
1999-03-23 19:01:41 +00:00
dwalker
ebe5ebe6e1 removed COPT and CDEBUG-- C_COMPILE_FLAGS used instead 1999-03-19 22:01:52 +00:00
falgout
d3b7a74f57 Fixed some problems when compiling with pthreads. 1999-03-19 17:01:14 +00:00