Skip to content

Commit

Permalink
remove semicolons (#1662)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 authored Feb 1, 2021
1 parent a3c2169 commit f3b3921
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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` */
Expand Down Expand Up @@ -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` */
Expand All @@ -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` */
Expand All @@ -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) );
};
}

};

Expand Down

0 comments on commit f3b3921

Please sign in to comment.