aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/TwoPunctures.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c
index 033db06..66ee93a 100644
--- a/src/TwoPunctures.c
+++ b/src/TwoPunctures.c
@@ -209,7 +209,18 @@ TwoPunctures (CCTK_ARGUMENTS)
CCTK_INFO ("Solving puncture equation");
/* initialise to 0 */
for (j = 0; j < ntotal; j++)
+ {
v.d0[j] = 0.0;
+ v.d1[j] = 0.0;
+ v.d2[j] = 0.0;
+ v.d3[j] = 0.0;
+ v.d11[j] = 0.0;
+ v.d12[j] = 0.0;
+ v.d13[j] = 0.0;
+ v.d22[j] = 0.0;
+ v.d23[j] = 0.0;
+ v.d33[j] = 0.0;
+ }
/* call for external initial guess */
if (use_external_initial_guess)
{