Changeset 16757
- Timestamp:
- 11/14/13 09:53:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/contrib/paraview/exportVTK.m
r16592 r16757 99 99 %check which field is a real result and print 100 100 for k=1:num_of_fields 101 if (( length(sol_struct{j}(timestep).(fieldnames{k})))== ...101 if ((numel(sol_struct{j}(timestep).(fieldnames{k})))== ... 102 102 num_of_points); 103 103 %paraview does not like NaN, replacing … … 119 119 num_of_fields=length(fieldnames); 120 120 for k=1:num_of_fields 121 if (( length(res_struct.(fieldnames{k})))==num_of_points);121 if ((numel(res_struct.(fieldnames{k})))==num_of_points); 122 122 %paraview does not like NaN, replacing 123 123 pos=find(isnan(res_struct.(fieldnames{k})));
Note:
See TracChangeset
for help on using the changeset viewer.