| #
88dfc225
|
| 11-May-2010 |
Matthew G Knepley <knepley@gmail.com> |
Merge
Hg-commit: 55b7a9d1500c75e20db02f207b9744d4e56162d1
|
| #
cb9801ac
|
| 11-May-2010 |
Jed Brown <jed@59A2.org> |
Make error macros nest in cascading if statements, revert Hong's reversion of Barry's breakage
The
#define MACRO(x,y) do { multiple(x); statements(y); } while (0)
construct requires the user to
Make error macros nest in cascading if statements, revert Hong's reversion of Barry's breakage
The
#define MACRO(x,y) do { multiple(x); statements(y); } while (0)
construct requires the user to provide a closing semicolon (this patch fixes this problem in many places), and does the correct thing in cascading if statements. Note that the alternative
#define MACRO(x,y) { multiple(x); statements(y); }
expands
if (cond) MACRO(x); else other();
as
if (cond) { multiple(x); statements; } ; else other();
and the final statement is an else with no matching if. I suggest that PETSc adopt the do {} while (0) construct anywhere that it currently uses compound statements within unguarded braces (note that most PETSc macros return a value and thus do not have this problem).
Hg-commit: ecf653b2f268465b7e7cb7569f7b80897acb163a
show more ...
|
| #
e32f2f54
|
| 07-May-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
added MPI_Comm as first argument to PetscError() and SETERRQX()
Hg-commit: fe5a2ff050abc00ca2c2979c0af22b117b62874e
|
| #
0d2fba3e
|
| 09-Mar-2010 |
Matthew G Knepley <knepley@gmail.com> |
Merge
Hg-commit: 2c02161f5890b468f5bb35c7476967398e40a0c5
|
| #
4efc9174
|
| 28-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
false compiler warning message about uninitialized variable fixed
Hg-commit: 5f741ab0d4eca976d5ac907f03ca4cc53b6ef55b
|
| #
28842d8c
|
| 26-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: ee73705a045ef5d04e074e8534eb7e0fbaa08e1b
|
| #
d382aafb
|
| 26-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
petsc.h --> petscsys.h (fortran equivalents also) new petsc.h that includes all PETSc includes is added
Hg-commit: a82a9bcb80ed39c69991db706672838a5b792d44
|
| #
b7c853c4
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
dropped the use from PCFactorSetUseDropTolerance() and -pc_factor_use_drop_tolerance
Hg-commit: 38537a65d99317cb3764af5eac895154a7e2f605
|
| #
845006b9
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
added MAT_SOLVER_BAS variable and manual page
Hg-commit: a850101cf54f40261eac72de5fed25d6363444fe
|
| #
4e1ff37a
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
more cleanup of bas factorization
Hg-commit: 58f55d11f74219dfdea60f8843e02ca6453b21de
|
| #
6322f4bd
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
more cleanup of bas factorization
Hg-commit: d17ae60b7f561b2479a4851a801503b122bb37f2
|
| #
9ccc4a9b
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
more cleanup of bas factorization
Hg-commit: 1d9674ac83338fed8aafa805b3b468eab0c138d2
|
| #
71d55d18
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
more cleanup of bas factor
Hg-commit: d1fa2b219a7b802a2d7ee1fd2e30b8d5044a2df2
|
| #
c328eead
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
convert // comments in bas factorization to /* convert NULL to PETSC_NULL in bas factorization
Hg-commit: 078466d66aa92fabb1877f8e17c77f90d8c4a60b
|
| #
9767453c
|
| 25-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
fixed bas icc factorization code for complex numbers added patches from Bas
Hg-commit: db8668e58529d852ce57000eb800935843a78947
|
| #
f3fc753d
|
| 22-Feb-2010 |
Matthew G Knepley <knepley@gmail.com> |
Merge
Hg-commit: 3afb0986e2b8c79a285b64c9c4116e3363bb84a4
|
| #
d36aa34e
|
| 21-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
fix bas factorization to compile with complex numbers &%&^^%
Hg-commit: bde4bb247fcd7639777e3c182ef61edb3053fc1b
|
| #
b2f1ab58
|
| 21-Feb-2010 |
Barry Smith <bsmith@mcs.anl.gov> |
forgot to add the bas factorization files
Hg-commit: 6956803d85d3c3b134bdeaf026ae50c4a7c7c12f
|