Skip to content

Commit

Permalink
Set default time_integrator for Omega
Browse files Browse the repository at this point in the history
In the manufactured_solution test, this needs to be RungeKutte4
  • Loading branch information
xylar committed Sep 30, 2024
1 parent a010381 commit 085316b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions polaris/ocean/tasks/manufactured_solution/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,13 @@ def __init__(self, component):
self.config.add_from_package(
'polaris.ocean.tasks.manufactured_solution',
'manufactured_solution.cfg')

def configure(self):
"""
Set omega default config options
"""
super().configure()
config = self.config
model = config.get('ocean', 'model')
if model == 'omega':
config.set('convergence_forward', 'time_integrator', 'RungeKutta4')

0 comments on commit 085316b

Please sign in to comment.