diff --git a/src/Domain/Creators/Sphere.cpp b/src/Domain/Creators/Sphere.cpp index a301dfdec0b31..5ded4bdcd91f2 100644 --- a/src/Domain/Creators/Sphere.cpp +++ b/src/Domain/Creators/Sphere.cpp @@ -392,7 +392,8 @@ Domain<3> Sphere::create_domain() const { block_id < num_blocks_per_shell_; // False if block_id is in the last shell const bool use_rigid_translation = - block_id + num_blocks_per_shell_ < num_blocks_; + block_id + num_blocks_per_shell_ + (fill_interior_ ? 1 : 0) < + num_blocks_; block_maps_grid_to_distorted[block_id] = hard_coded_options.grid_to_distorted_map( include_distorted_map_in_first_shell);