mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
Formatting
This commit is contained in:
parent
4c502fee37
commit
6314ea5768
2 changed files with 6 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue