diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-04-02 18:42:43 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-04-02 18:42:43 -0500 |
commit | 70fd92da159408e939381abf14f37c01d523760d (patch) | |
tree | 589333caf890e42614583161b5a71dc00c8f2625 /ML_ADM/src/ML_ADM_Minkowski.c | |
parent | 90b1458fa8c6340ad8c81dbc0dd43ed77f64f993 (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_Minkowski.c')
-rw-r--r-- | ML_ADM/src/ML_ADM_Minkowski.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ML_ADM/src/ML_ADM_Minkowski.c b/ML_ADM/src/ML_ADM_Minkowski.c index 9af8b2e..62e14e2 100644 --- a/ML_ADM/src/ML_ADM_Minkowski.c +++ b/ML_ADM/src/ML_ADM_Minkowski.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_Minkowski_Body(cGH *cctkGH, CCTK_INT dir, CCTK_INT face, CCTK_REAL n pm1o12dz2 = -pow(dz,-2)/12.; /* Loop over the grid points */ - _Pragma ("omp parallel") + #pragma omp parallel LC_LOOP3 (ML_ADM_Minkowski, i,j,k, min[0],min[1],min[2], max[0],max[1],max[2], cctk_lsh[0],cctk_lsh[1],cctk_lsh[2]) |