Changeset 26538


Ignore:
Timestamp:
11/04/21 11:59:06 (3 years ago)
Author:
jdquinn
Message:

CHG: Patch to get unrelated Python tests passing again

Location:
issm/trunk-jpl/src/m/classes
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/model.py

    r26435 r26538  
    6969from DepthAverage import DepthAverage
    7070from sampling import sampling
     71from stochasticforcing import stochasticforcing
    7172#}}}
    7273
     
    127128        self.miscellaneous = None
    128129        self.private = None
     130        self.stochasticforcing = None
    129131
    130132        if len(args) == 0:
     
    183185        s = "%s\n%s" % (s, "%19s: %-22s -- %s" % ("radaroverlay", "[%s %s]" % ("1x1", obj.radaroverlay.__class__.__name__), "radar image for plot overlay"))
    184186        s = "%s\n%s" % (s, "%19s: %-22s -- %s" % ("miscellaneous", "[%s %s]" % ("1x1", obj.miscellaneous.__class__.__name__), "miscellaneous fields"))
     187        s = "%s\n%s" % (s, "%19s: %-22s -- %s" % ("stochasticforcing", "[%s %s]" % ("1x1", obj.stochasticforcing.__class__.__name__), "stochasticity applied to model forcings"))
    185188        return s
    186189    #}}}
     
    188191    def properties(self): #{{{
    189192        # ordered list of properties since vars(self) is random
    190         return ['mesh',
    191                 'mask',
    192                 'geometry',
    193                 'constants',
    194                 'smb',
    195                 'basalforcings',
    196                 'materials',
    197                 'damage',
    198                 'friction',
    199                 'flowequation',
    200                 'timestepping',
    201                 'initialization',
    202                 'rifts',
    203                 'dsl',
    204                 'solidearth',
    205                 'debug',
    206                 'verbose',
    207                 'settings',
    208                 'toolkits',
    209                 'cluster',
    210                 'balancethickness',
    211                 'stressbalance',
    212                 'groundingline',
    213                 'hydrology',
    214                 'masstransport',
    215                 'thermal',
    216                 'steadystate',
    217                 'transient',
    218                 'levelset',
    219                 'calving',
    220                 'frontalforcings',
    221                 'love',
    222                 'esa',
    223                 'sampling',
    224                 'autodiff',
    225                 'inversion',
    226                 'qmu',
    227                 'amr',
    228                 'results',
    229                 'outputdefinition',
    230                 'radaroverlay',
    231                 'miscellaneous',
    232                 'private']
     193        return [
     194            'mesh',
     195            'mask',
     196            'geometry',
     197            'constants',
     198            'smb',
     199            'basalforcings',
     200            'materials',
     201            'damage',
     202            'friction',
     203            'flowequation',
     204            'timestepping',
     205            'initialization',
     206            'rifts',
     207            'dsl',
     208            'solidearth',
     209            'debug',
     210            'verbose',
     211            'settings',
     212            'toolkits',
     213            'cluster',
     214            'balancethickness',
     215            'stressbalance',
     216            'groundingline',
     217            'hydrology',
     218            'masstransport',
     219            'thermal',
     220            'steadystate',
     221            'transient',
     222            'levelset',
     223            'calving',
     224            'frontalforcings',
     225            'love',
     226            'esa',
     227            'sampling',
     228            'autodiff',
     229            'inversion',
     230            'qmu',
     231            'amr',
     232            'results',
     233            'outputdefinition',
     234            'radaroverlay',
     235            'miscellaneous',
     236            'private',
     237            'stochasticforcing'
     238        ]
    233239    #}}}
    234240
     
    277283        self.miscellaneous = miscellaneous()
    278284        self.private = private()
     285        self.stochasticforcing = stochasticforcing()
    279286    #}}}
    280287
Note: See TracChangeset for help on using the changeset viewer.