diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-08-16 21:59:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-08-16 21:59:00 +0000 |
commit | 1c1c942e0fe8c17971b27aaed1a3b4c7fb202707 (patch) | |
tree | e852697147ad8f7c02ccfe1f79d93fe04d8671ee /Carpet/CarpetInterp | |
parent | b3b9c37bb93b67856eda17373f99cf8804fbbd00 (diff) |
CarpetInterp: Indent some code more nicely
darcs-hash:20060816215956-dae7b-602a2f47bd72e3e86ceebc76ef3e9ac4c4b455a9.gz
Diffstat (limited to 'Carpet/CarpetInterp')
-rw-r--r-- | Carpet/CarpetInterp/src/interp.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Carpet/CarpetInterp/src/interp.cc b/Carpet/CarpetInterp/src/interp.cc index a177108a4..7a8c3ff46 100644 --- a/Carpet/CarpetInterp/src/interp.cc +++ b/Carpet/CarpetInterp/src/interp.cc @@ -246,11 +246,11 @@ namespace CarpetInterp { CCTK_GroupDynamicData (cctkGH, group, &gdata); const int size = gdata.dim * sizeof (int); if (gdata.dim != coord_group_data.dim or - memcmp (gdata.lsh, coord_group_data.lsh, size) or - memcmp (gdata.lbnd, coord_group_data.lbnd, size) or - memcmp (gdata.ubnd, coord_group_data.ubnd, size) or - memcmp (gdata.bbox, coord_group_data.bbox, 2*size) or - memcmp (gdata.nghostzones, coord_group_data.nghostzones, size)) { + memcmp (gdata.lsh, coord_group_data.lsh, size) or + memcmp (gdata.lbnd, coord_group_data.lbnd, size) or + memcmp (gdata.ubnd, coord_group_data.ubnd, size) or + memcmp (gdata.bbox, coord_group_data.bbox, 2*size) or + memcmp (gdata.nghostzones, coord_group_data.nghostzones, size)) { CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING, "input array variable %d has different layout than " "the underlying coordinate system", n); @@ -269,7 +269,7 @@ namespace CarpetInterp { for (int n = 1; n < N_output_arrays; n++) { if (output_array_type != output_array_type_codes[n]) { CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING, - "Currently all output arrays have have the same datatype. " + "Currently all output arrays have to have the same datatype. " "Array 0 has type '%s' but array %d has type '%s'", CCTK_VarTypeName (output_array_type), n, CCTK_VarTypeName (output_array_type_codes[n])); |