aboutsummaryrefslogtreecommitdiff
path: root/src/Newton.c
diff options
context:
space:
mode:
authorschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2004-10-08 19:07:34 +0000
committerschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2004-10-08 19:07:34 +0000
commit9bfb372b21b2a6a3fcdc34c4fc988a22c2bf101a (patch)
tree9c574555d06c027892ea06ad51caca9ebe95d7b9 /src/Newton.c
parent56edb0f45bea22c4405509665b921476d6461dda (diff)
Use boolean instead of integer for parameter use_sources.
Fix segmentation fault when there is no matter. Add prototype for function relax. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@24 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src/Newton.c')
-rw-r--r--src/Newton.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Newton.c b/src/Newton.c
index 0dbb627..c1af7f3 100644
--- a/src/Newton.c
+++ b/src/Newton.c
@@ -9,6 +9,9 @@
#include "TP_utilities.h"
#include "TwoPunctures.h"
+static void relax (double *dv, int nvar, int n1, int n2, int n3, double *rhs,
+ int *ncols, int **cols, double **JFD);
+
// -----------------------------------------------------------------------------------
void
resid (double *res, int ntotal, double *dv, double *rhs,