Changeset 7659
- Timestamp:
- 03/18/11 14:26:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/mex/KMLMeshWrite/KMLMeshWrite.cpp
r7655 r7659 127 127 if (part && (lprt != nnodes)) 128 128 _error_("Partitioning vector, if supplied, must be supplied for all nodes."); 129 if (data && (mdata != melem))130 _error_("Data vector, if supplied, must be supplied for all elements.");129 if (data && !((mdata == nnodes) || (mdata == melem))) 130 _error_("Data vector, if supplied, must be supplied for all nodes or all elements."); 131 131 if (cmap && (ncmap != 3)) 132 _error_("Colormap vector, if supplied, shouldhave three columns for rgb.");132 _error_("Colormap vector, if supplied, must have three columns for rgb."); 133 133 134 134 if (!strlen(filnam)) … … 147 147 lat,lng, 148 148 part, 149 data, 149 data,mdata,ndata, 150 150 cmap,mcmap,ncmap, 151 151 fid);
Note:
See TracChangeset
for help on using the changeset viewer.