Skip to content

Commit

Permalink
Merge pull request #623 from xylar/use-redi-limting
Browse files Browse the repository at this point in the history
Print max. temperature during dynamic adjustment
  • Loading branch information
xylar authored May 6, 2024
2 parents 36fb67e + 79bf5d0 commit 9b3e621
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def validate(self):
and timers
"""
config = self.config
logger = self.logger
variables = ['temperature', 'salinity', 'layerThickness',
'normalVelocity']

Expand All @@ -137,6 +138,9 @@ def validate(self):
f'Max of {var} > allowed threshold: '
f'{max_in_global_stats} > {max_value} '
f'in {filename}')
logger.info(f'As desired, max of {var}: '
f'{max_in_global_stats} <= {max_value} in\n'
f' {filename}')

def _add_step(self, step_name, options, get_dt_from_min_res,
time_integrator, yaml_filename, start_time,
Expand Down

0 comments on commit 9b3e621

Please sign in to comment.