aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5/src/poison.cc
diff options
context:
space:
mode:
Diffstat (limited to 'CarpetDev/CarpetIOF5/src/poison.cc')
-rw-r--r--CarpetDev/CarpetIOF5/src/poison.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/CarpetDev/CarpetIOF5/src/poison.cc b/CarpetDev/CarpetIOF5/src/poison.cc
index 8dcc9cbdb..f9292def5 100644
--- a/CarpetDev/CarpetIOF5/src/poison.cc
+++ b/CarpetDev/CarpetIOF5/src/poison.cc
@@ -17,13 +17,13 @@ namespace CarpetIOF5 {
extern "C"
- void F5_Poison (CCTK_ARGUMENTS)
+ void F5_Poison(CCTK_ARGUMENTS)
{
DECLARE_CCTK_PARAMETERS;
- assert (is_global_mode());
- CCTK_VInfo (CCTK_THORNSTRING,
- "F5_Poison: iteration=%d", cctkGH->cctk_iteration);
+ assert(is_global_mode());
+ CCTK_VInfo(CCTK_THORNSTRING,
+ "F5_Poison: iteration=%d", cctkGH->cctk_iteration);
BEGIN_REFLEVEL_LOOP(cctkGH) {
BEGIN_LOCAL_MAP_LOOP(cctkGH, CCTK_GF) {
@@ -45,13 +45,13 @@ namespace CarpetIOF5 {
extern "C"
- void F5_Check (CCTK_ARGUMENTS)
+ void F5_Check(CCTK_ARGUMENTS)
{
DECLARE_CCTK_PARAMETERS;
- assert (is_global_mode());
- CCTK_VInfo (CCTK_THORNSTRING,
- "F5_Check: iteration=%d", cctkGH->cctk_iteration);
+ assert(is_global_mode());
+ CCTK_VInfo(CCTK_THORNSTRING,
+ "F5_Check: iteration=%d", cctkGH->cctk_iteration);
BEGIN_REFLEVEL_LOOP(cctkGH) {
BEGIN_LOCAL_MAP_LOOP(cctkGH, CCTK_GF) {
@@ -60,10 +60,10 @@ namespace CarpetIOF5 {
#pragma omp parallel
CCTK_LOOP3_ALL(F5_Check, cctkGH, i,j,k) {
int const ind3d = CCTK_GFINDEX3D(cctkGH, i,j,k);
- assert (not isnan(x[ind3d]));
- assert (not isnan(y[ind3d]));
- assert (not isnan(z[ind3d]));
- assert (not isnan(r[ind3d]));
+ assert(not isnan(x[ind3d]));
+ assert(not isnan(y[ind3d]));
+ assert(not isnan(z[ind3d]));
+ assert(not isnan(r[ind3d]));
} CCTK_ENDLOOP3_ALL(F5_Check);
} END_LOCAL_COMPONENT_LOOP;
} END_LOCAL_MAP_LOOP;