Changeset 17632
- Timestamp:
- 04/03/14 12:11:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/damage.py
r17480 r17632 172 172 WriteData(fid,'object',self,'fieldname','equiv_stress','format','Integer') 173 173 174 175 176 177 178 179 180 174 #process requested outputs 175 outputs = self.requested_outputs 176 indices = [i for i, x in enumerate(outputs) if x == 'default'] 177 if len(indices) > 0: 178 outputscopy=outputs[0:max(0,indices[0]-1)]+self.defaultoutputs(md)+outputs[indices[0]+1:] 179 outputs =outputscopy 180 WriteData(fid,'data',outputs,'enum',DamageEvolutionRequestedOutputsEnum(),'format','StringArray') 181 181 # }}}
Note:
See TracChangeset
for help on using the changeset viewer.