Skip to content

Commit

Permalink
Merge pull request #331 from scottaiton/hdf5_fix
Browse files Browse the repository at this point in the history
HDF5 fix for multiblock domains
  • Loading branch information
scottaiton authored Apr 17, 2024
2 parents a8a56a4 + be29700 commit a8ca36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patches/clawpatch/fclaw_clawpatch_output_hdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ get_patch_blockno(fclaw_global_t *glob, int i, int *blockno, int *patchno)
*blockno = 0;
while(*blockno < (glob->domain->num_blocks-1) && glob->domain->blocks[*blockno+1].num_patches_before <= i)
{
blockno++;
(*blockno)++;
}
*patchno = i - glob->domain->blocks[*blockno].num_patches_before;
}
Expand Down

0 comments on commit a8ca36b

Please sign in to comment.