Changeset 25026


Ignore:
Timestamp:
06/12/20 09:14:02 (5 years ago)
Author:
bdef
Message:

BUG: fixing logic test

File:
1 edited

Legend:

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

    r25023 r25026  
    101101                                     np.sum(np.abs(md.initialization.vy[md.mesh.elements - 1]), axis=1) == 0)):
    102102                md.checkmessage("at least one triangle has all its vertices with a zero velocity")
    103         if 'ThermalAnalysis' in analyses and solution != 'TransientSolution' and md.transient.isthermal == 0:
     103        if 'ThermalAnalysis' in analyses and not (solution == 'TransientSolution' and md.transient.isthermal == 0):
    104104            md = checkfield(md, 'fieldname', 'initialization.vx', 'NaN', 1, 'Inf', 1, 'size', [md.mesh.numberofvertices])
    105105            md = checkfield(md, 'fieldname', 'initialization.vy', 'NaN', 1, 'Inf', 1, 'size', [md.mesh.numberofvertices])
Note: See TracChangeset for help on using the changeset viewer.