From f3b3921086174aa9cee1daeba0c33496e594a2c5 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Mon, 1 Feb 2021 20:30:29 +0100 Subject: remove semicolons (#1662) --- .../FiniteDifferenceAlgorithms/CylindricalYeeAlgorithm.H | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms') diff --git a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CylindricalYeeAlgorithm.H b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CylindricalYeeAlgorithm.H index 6196598b3..1978a61a5 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CylindricalYeeAlgorithm.H +++ b/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CylindricalYeeAlgorithm.H @@ -81,7 +81,7 @@ struct CylindricalYeeAlgorithm { Real const inv_dr = coefs_r[0]; return 1._rt/r * inv_dr*( (r+0.5_rt*dr)*F(i+1,j,k,comp) - (r-0.5_rt*dr)*F(i,j,k,comp) ); - }; + } /** Applies the differential operator `1/r * d(rF)/dr`, * where `F` is on a *cell-centered* grid in `r` @@ -99,7 +99,7 @@ struct CylindricalYeeAlgorithm { Real const inv_dr = coefs_r[0]; return 1._rt/r * inv_dr*( (r+0.5_rt*dr)*F(i,j,k,comp) - (r-0.5_rt*dr)*F(i-1,j,k,comp) ); - }; + } /** * Perform derivative along r on a cell-centered grid, from a nodal field `F` */ @@ -129,7 +129,7 @@ struct CylindricalYeeAlgorithm { Real const inv_dr = coefs_r[0]; return inv_dr*( F(i,j,k,comp) - F(i-1,j,k,comp) ); - }; + } /** * Perform derivative along z on a cell-centered grid, from a nodal field `F` */ @@ -143,7 +143,7 @@ struct CylindricalYeeAlgorithm { amrex::Real const inv_dz = coefs_z[0]; return inv_dz*( F(i,j+1,k,comp) - F(i,j,k,comp) ); - }; + } /** * Perform derivative along z on a nodal grid, from a cell-centered field `F` */ @@ -157,7 +157,7 @@ struct CylindricalYeeAlgorithm { amrex::Real const inv_dz = coefs_z[0]; return inv_dz*( F(i,j,k,comp) - F(i,j-1,k,comp) ); - }; + } }; -- cgit v1.2.3