Changeset 13447
- Timestamp:
- 09/26/12 11:25:03 (12 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/matlab/io/WriteMatlabData.cpp
r13324 r13447 112 112 113 113 *pdataref=mxCreateString(string); 114 } 115 /*}}}*/ 116 /*FUNCTION WriteData(mxArray** pdataref){{{*/ 117 void WriteData(mxArray** pdataref){ 118 119 ; 120 114 121 } 115 122 /*}}}*/ -
issm/trunk-jpl/src/c/matlab/io/matlabio.h
r13353 r13447 26 26 void WriteData(mxArray** pdataref,double scalar); 27 27 void WriteData(mxArray** pdataref,char* string); 28 void WriteData(mxArray** pdataref); 28 29 void WriteData(mxArray** pdataref,BamgGeom* bamggeom); 29 30 void WriteData(mxArray** pdataref,BamgMesh* bamgmesh); -
issm/trunk-jpl/src/c/python/io/WritePythonData.cpp
r13322 r13447 45 45 46 46 PyTuple_SetItem(tuple, index, array); 47 }/*}}}*/ 48 /*FUNCTION WriteData(PyObject* py_tuple,int index){{{*/ 49 void WriteData(PyObject* py_tuple, int index){ 50 51 PyTuple_SetItem(py_tuple, index, Py_None); 52 47 53 }/*}}}*/ 48 54 … … 128 134 }/*}}}*/ 129 135 /*FUNCTION WriteData(PyObject* py_tuple,int index,SeqVec<double>* vector){{{*/ 130 void WriteData(PyObject* tuple,int index,SeqVec<double>* vector){136 void WriteData(PyObject* py_tuple,int index,SeqVec<double>* vector){ 131 137 132 138 int M; … … 140 146 array=PyArray_SimpleNewFromData(1,&dim,NPY_DOUBLE,buffer); 141 147 142 PyTuple_SetItem( tuple, index, array);148 PyTuple_SetItem(py_tuple, index, array); 143 149 } 144 150 /*}}}*/ -
issm/trunk-jpl/src/modules/ContourToMesh/ContourToMesh.cpp
r13355 r13447 73 73 if (strcmp(interptype,"node")==0){ 74 74 WriteData(PLHS0,in_nod); 75 WriteData(PLHS1); 75 76 } 76 77 else if (strcmp(interptype,"element")==0){ 77 78 WriteData(PLHS0,in_elem); 79 WriteData(PLHS1); 78 80 } 79 81 else if (strcmp(interptype,"element and node")==0){
Note:
See TracChangeset
for help on using the changeset viewer.