diff --git a/include/openmc/mesh.h b/include/openmc/mesh.h index e7af15cb0..df51f3941 100644 --- a/include/openmc/mesh.h +++ b/include/openmc/mesh.h @@ -583,7 +583,8 @@ public: CylindricalMesh(hid_t group); // Overridden methods - virtual MeshIndex get_indices(Position r, Direction u, bool& in_mesh) const override; + virtual MeshIndex get_indices( + Position r, Direction u, bool& in_mesh) const override; int get_index_in_direction(double r, double u, int i) const override; @@ -648,7 +649,8 @@ public: SphericalMesh(hid_t group); // Overridden methods - virtual MeshIndex get_indices(Position r, Direction u, bool& in_mesh) const override; + virtual MeshIndex get_indices( + Position r, Direction u, bool& in_mesh) const override; int get_index_in_direction(double r, double u, int i) const override; diff --git a/src/mesh.cpp b/src/mesh.cpp index 6f47d0973..3bea9b801 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -1249,7 +1249,8 @@ void StructuredMesh::raytrace_mesh( // Calculate the new cell index and update all distances to next // surfaces. - ijk = get_indices(global_r + (traveled_distance + TINY_BIT) * u, u, in_mesh); + ijk = + get_indices(global_r + (traveled_distance + TINY_BIT) * u, u, in_mesh); for (int k = 0; k < n; ++k) { distances[k] = distance_to_grid_boundary(ijk, k, local_r, u, traveled_distance);