diff options
-rw-r--r-- | src/driver/find_horizons.cc | 2 | ||||
-rw-r--r-- | src/driver/initial_guess.cc | 2 | ||||
-rw-r--r-- | src/driver/io.cc | 2 | ||||
-rw-r--r-- | src/driver/setup.cc | 2 | ||||
-rw-r--r-- | src/elliptic/Jacobian.cc | 2 | ||||
-rw-r--r-- | src/elliptic/lapack.h | 5 | ||||
-rw-r--r-- | src/gr/Schwarzschild_EF.cc | 2 | ||||
-rw-r--r-- | src/gr/gfns.hh | 2 | ||||
-rw-r--r-- | src/patch/coords.hh | 6 | ||||
-rw-r--r-- | src/patch/patch_system_info.hh | 12 |
10 files changed, 19 insertions, 18 deletions
diff --git a/src/driver/find_horizons.cc b/src/driver/find_horizons.cc index 8fd8f29..7df1fb3 100644 --- a/src/driver/find_horizons.cc +++ b/src/driver/find_horizons.cc @@ -70,7 +70,7 @@ void BH_diagnostics(enum patch::integration_method surface_integral_method, struct AH_info& AH_info); fp surface_integral(const patch_system& ps, int src_gfn, enum patch::integration_method method); - }; + } //****************************************************************************** diff --git a/src/driver/initial_guess.cc b/src/driver/initial_guess.cc index f8d8369..73de3e6 100644 --- a/src/driver/initial_guess.cc +++ b/src/driver/initial_guess.cc @@ -60,7 +60,7 @@ void setup_ellipsoid(patch_system& ps, fp x_center, fp y_center, fp z_center, fp x_radius, fp y_radius, fp z_radius, bool print_msg_flag); - }; + } //****************************************************************************** diff --git a/src/driver/io.cc b/src/driver/io.cc index 052c8e2..9a9e01d 100644 --- a/src/driver/io.cc +++ b/src/driver/io.cc @@ -54,7 +54,7 @@ using jtutil::error_exit; namespace { const char* io_file_name(struct IO_info& IO_info, const char base_file_name[], int hn, int AHF_iteration = 0); - }; + } //****************************************************************************** diff --git a/src/driver/setup.cc b/src/driver/setup.cc index 20ba7c6..daf3963 100644 --- a/src/driver/setup.cc +++ b/src/driver/setup.cc @@ -63,7 +63,7 @@ enum verbose_level enum patch_system::patch_system_type choose_patch_system_type(const char grid_domain[], fp origin_x, fp origin_y, fp origin_z); - }; + } //****************************************************************************** diff --git a/src/elliptic/Jacobian.cc b/src/elliptic/Jacobian.cc index c883143..83b0a0e 100644 --- a/src/elliptic/Jacobian.cc +++ b/src/elliptic/Jacobian.cc @@ -113,7 +113,7 @@ void CCTK_FCALL integer* info); #ifdef __cplusplus - }; /* extern "C" */ + } /* extern "C" */ #endif //***** end "lapack.h" contents ******** diff --git a/src/elliptic/lapack.h b/src/elliptic/lapack.h index f82d9d4..1e86616 100644 --- a/src/elliptic/lapack.h +++ b/src/elliptic/lapack.h @@ -8,7 +8,8 @@ */ #ifdef __cplusplus -extern "C" { +extern "C" + { #endif /* @@ -53,5 +54,5 @@ void CCTK_FCALL integer* info); #ifdef __cplusplus - }; /* extern "C" */ + } /* extern "C" */ #endif diff --git a/src/gr/Schwarzschild_EF.cc b/src/gr/Schwarzschild_EF.cc index 5f405cd..72fad0b 100644 --- a/src/gr/Schwarzschild_EF.cc +++ b/src/gr/Schwarzschild_EF.cc @@ -73,7 +73,7 @@ void xform_from_rthetaphi_to_xyz(fp epsilon, fp& T_xx, fp& T_xy, fp& T_xz, fp& T_yy, fp& T_yz, fp& T_zz); - }; + } //****************************************************************************** //****************************************************************************** diff --git a/src/gr/gfns.hh b/src/gr/gfns.hh index f984f4f..5c3f6d3 100644 --- a/src/gr/gfns.hh +++ b/src/gr/gfns.hh @@ -72,4 +72,4 @@ enum { nominal_max_gfn = gfn__one // no comma }; - }; // namespace gfns:: + } // namespace gfns:: diff --git a/src/patch/coords.hh b/src/patch/coords.hh index 61ec3b0..f3fd94a 100644 --- a/src/patch/coords.hh +++ b/src/patch/coords.hh @@ -115,7 +115,7 @@ bool fuzzy_EQ_dang(fp dang1, fp dang2); // degrees fp modulo_reduce_ang(fp ang, fp min_ang, fp max_ang); fp modulo_reduce_dang(fp dang, fp min_dang, fp max_dang); - }; // close namespace local_coords:: + } // close namespace local_coords:: //***************************************************************************** @@ -202,7 +202,7 @@ void nu_phi_of_theta_phi(fp ps_theta, fp ps_phi, fp& nu, fp& phi); void xyzcos_of_mu_nu (fp mu, fp nu , fp& xcos, fp& ycos, fp& zcos); void xyzcos_of_mu_phi(fp mu, fp phi, fp& xcos, fp& ycos, fp& zcos); void xyzcos_of_nu_phi(fp nu, fp phi, fp& xcos, fp& ycos, fp& zcos); - }; // close namespace local_coords:: + } // close namespace local_coords:: //***************************************************************************** @@ -237,7 +237,7 @@ inline coords_set coords_set_not(coords_set S) { return coords_set_all & ~S; } - }; // close namespace local_coords:: + } // close namespace local_coords:: //****************************************************************************** diff --git a/src/patch/patch_system_info.hh b/src/patch/patch_system_info.hh index 79f2b7a..ef4eb9f 100644 --- a/src/patch/patch_system_info.hh +++ b/src/patch/patch_system_info.hh @@ -45,7 +45,7 @@ namespace full_sphere {"-z", patch::patch_is_minus, 'z', 135.0, 225.0, 135.0, 225.0}, }; static const int N_patches = sizeof(patch_info_array) / sizeof(patch_info); - }; // namespace patch_system_info::full_sphere + } // namespace patch_system_info::full_sphere // // +z hemisphere (half) patch system @@ -71,7 +71,7 @@ namespace plus_z_hemisphere {"-y", patch::patch_is_minus, 'y', -90.0, -45.0, -135.0, -45.0}, }; static const int N_patches = sizeof(patch_info_array) / sizeof(patch_info); - }; // namespace patch_system_info::plus_z_hemisphere + } // namespace patch_system_info::plus_z_hemisphere // // +[xy] "vertical" quarter-grid (quadrant) patch system @@ -94,7 +94,7 @@ namespace plus_xy_quadrant {"-z", patch::patch_is_minus, 'z', 135.0, 180.0, 135.0, 180.0}, }; static const int N_patches = sizeof(patch_info_array) / sizeof(patch_info); - }; // namespace patch_system_info::plus_xy_quadrant + } // namespace patch_system_info::plus_xy_quadrant // // +[xz] "horizontal" quarter-grid (quadrant) patch system @@ -118,7 +118,7 @@ namespace plus_xz_quadrant {"-y", patch::patch_is_minus, 'y', -90.0, -45.0, -90.0, -45.0}, }; static const int N_patches = sizeof(patch_info_array) / sizeof(patch_info); - }; // namespace patch_system_info::plus_xz_quadrant + } // namespace patch_system_info::plus_xz_quadrant // // +[xyz] (octant) patch system @@ -137,6 +137,6 @@ namespace plus_xyz_octant {"+y", patch::patch_is_plus, 'y', 45.0, 90.0, 45.0, 90.0}, }; static const int N_patches = sizeof(patch_info_array) / sizeof(patch_info); - }; // namespace patch_system_info::octant + } // namespace patch_system_info::octant -}; // namespace patch_system_info:: +} // namespace patch_system_info:: |