Changeset 3417 for issm/trunk/src/mex/Dof/Dof.cpp
- Timestamp:
- 04/07/10 12:23:51 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/mex/Dof/Dof.cpp
r2333 r3417 12 12 /*input datasets: */ 13 13 DataSet* nodes=NULL; 14 DataSet* vertices=NULL; 14 15 DataSet* elements=NULL; 15 16 DataSet* params=NULL; … … 28 29 FetchData(&elements,ELEMENTS); 29 30 FetchData(&nodes,NODESIN); 31 FetchData(&vertices,VERTICESIN); 30 32 FetchData(¶ms,PARAMS); 31 33 32 34 /*!Generate internal degree of freedom numbers: */ 33 Dofx(&partition, &tpartition,elements,nodes, params);35 Dofx(&partition, &tpartition,elements,nodes, vertices, params); 34 36 35 37 /*partition and tpartition should be incremented by 1: */ … … 39 41 /*write output datasets: */ 40 42 WriteData(NODES,nodes); 43 WriteData(VERTICES,vertices); 41 44 WriteData(PARTITION,partition); 42 45 WriteData(TPARTITION,tpartition); … … 44 47 /*Free ressources: */ 45 48 delete nodes; 49 delete vertices; 46 50 delete elements; 47 51 delete params;
Note:
See TracChangeset
for help on using the changeset viewer.