Source code for compass.ocean.tests.parabolic_bowl

from compass.ocean.tests.parabolic_bowl.default import Default
from compass.testgroup import TestGroup


[docs] class ParabolicBowl(TestGroup): """ A test group for parabolic bowl (wetting-and-drying) test cases """
[docs] def __init__(self, mpas_core): """ mpas_core : compass.MpasCore the MPAS core that this test group belongs to """ super().__init__(mpas_core=mpas_core, name='parabolic_bowl') for wetdry in ['standard', 'subgrid']: for ramp_type in ['ramp', 'noramp']: # note: LTS has only standard W/D for use_lts in [True, False]: if use_lts and wetdry == 'subgrid': continue else: self.add_test_case( Default(test_group=self, ramp_type=ramp_type, wetdry=wetdry, use_lts=use_lts))