aboutsummaryrefslogtreecommitdiff
path: root/ML_ADM/src/ML_ADM_constraints_boundary.c
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-04-02 18:42:43 -0500
committerErik Schnetter <schnetter@cct.lsu.edu>2008-04-02 18:42:43 -0500
commit70fd92da159408e939381abf14f37c01d523760d (patch)
tree589333caf890e42614583161b5a71dc00c8f2625 /ML_ADM/src/ML_ADM_constraints_boundary.c
parent90b1458fa8c6340ad8c81dbc0dd43ed77f64f993 (diff)
Create several specialised thorns: ML_ADM and ML_BSSN as standard cases,
ML_BSSN_MP for multi-patch simulations, and ML_BSSN_M for AMR simulations with matter. Add helper thorns for all BSSN thorns. Helper thorns are required at run time, e.g. to register gauge conditions. Split ADM and BSSN equations into their own source files.
Diffstat (limited to 'ML_ADM/src/ML_ADM_constraints_boundary.c')
-rw-r--r--ML_ADM/src/ML_ADM_constraints_boundary.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ML_ADM/src/ML_ADM_constraints_boundary.c b/ML_ADM/src/ML_ADM_constraints_boundary.c
index ae07d3b..58854a8 100644
--- a/ML_ADM/src/ML_ADM_constraints_boundary.c
+++ b/ML_ADM/src/ML_ADM_constraints_boundary.c
@@ -5,7 +5,10 @@
#define KRANC_C
+#include <assert.h>
#include <math.h>
+#include <stdio.h>
+#include <stdlib.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
@@ -84,7 +87,7 @@ void ML_ADM_constraints_boundary_Body(cGH *cctkGH, CCTK_INT dir, CCTK_INT face,
pm1o12dz2 = -pow(dz,-2)/12.;
/* Loop over the grid points */
- _Pragma ("omp parallel")
+ #pragma omp parallel
LC_LOOP3 (ML_ADM_constraints_boundary,
i,j,k, min[0],min[1],min[2], max[0],max[1],max[2],
cctk_lsh[0],cctk_lsh[1],cctk_lsh[2])