Changeset 24287


Ignore:
Timestamp:
10/29/19 02:37:56 (5 years ago)
Author:
bdef
Message:

NEW: adding consistency check for py on pairing which is on Matlab indexes (>0)

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

Legend:

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

    r24261 r24287  
    7474        md = checkfield(md, 'fieldname', 'masstransport.min_thickness', '>', 0)
    7575        md = checkfield(md, 'fieldname', 'masstransport.requested_outputs', 'stringrow', 1)
     76        md = checkfield(md, 'fieldname', 'masstransport.vertex_pairing', '>', 0)
    7677
    7778        return md
  • issm/trunk-jpl/src/m/classes/stressbalance.py

    r24261 r24287  
    134134        md = checkfield(md, 'fieldname', 'stressbalance.loadingforce', 'size', [md.mesh.numberofvertices, 3])
    135135        md = checkfield(md, 'fieldname', 'stressbalance.requested_outputs', 'stringrow', 1)
    136 
     136        md = checkfield(md, 'fieldname', 'stressbalance.vertex_pairing', '>', 0)
    137137        #singular solution
    138138        #        if ~any((~isnan(md.stressbalance.spcvx) + ~isnan(md.stressbalance.spcvy)) == 2),
Note: See TracChangeset for help on using the changeset viewer.