Changeset 4189
- Timestamp:
- 06/24/10 10:50:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/io/FetchParams.cpp
r3775 r4189 52 52 enum_type=StringAsEnum(name); 53 53 pfield=mxGetFieldByNumber(dataref,0,count); 54 54 ISSMASSERT(pfield); 55 55 56 /*Check type of field: */ 56 57 if (mxIsDouble(pfield)){ 58 57 59 /*could be DOUBLE, DOUBLEVEC or DOUBLEMAT, depends on dimensions: */ 58 59 60 M=mxGetM(pfield); 60 61 N=mxGetN(pfield); … … 97 98 } 98 99 else if (mxIsChar(pfield)){ 99 100 100 /* we have a string parameter:*/ 101 101 … … 113 113 } 114 114 else if (mxIsCell(pfield)){ 115 116 115 /*string array: */ 117 116 M=mxGetM(pfield);
Note:
See TracChangeset
for help on using the changeset viewer.