Skip to content

Commit

Permalink
Merge pull request #4797 from acreyes/flash-nofbs
Browse files Browse the repository at this point in the history
correct domain_dimensions in non-fixed block size uniform grid FLASH output
  • Loading branch information
matthewturk authored Feb 1, 2024
2 parents d5b3335 + eda6e5e commit 6119d78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yt/frontends/flash/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ def _parse_parameter_file(self):
nblockx = self.parameters["nblockx"]
nblocky = self.parameters["nblocky"]
nblockz = self.parameters["nblockz"]
elif self.parameters["globalnumblocks"] == 1: # non-fixed block size UG
nblockx = 1
nblocky = 1
nblockz = 1
else: # Uniform Grid
nblockx = self.parameters["iprocs"]
nblocky = self.parameters["jprocs"]
Expand Down

0 comments on commit 6119d78

Please sign in to comment.