Changeset 4170
- Timestamp:
- 06/23/10 14:00:45 (15 years ago)
- Location:
- issm/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataSet/DataSet.cpp
r4145 r4170 487 487 488 488 int rank; 489 int id;489 int sid; 490 490 vector<Object*>::iterator object; 491 491 … … 496 496 497 497 /*Which id does it have: */ 498 id=(*object)->Id();498 sid=(*object)->Sid(); 499 499 500 500 /*Plug rank into ranks, according to id: */ 501 ranks[ id-1]=rank; //Matlab ids start at 1.501 ranks[sid]=rank; 502 502 } 503 503 return; -
issm/trunk/src/c/objects/Node.cpp
r4140 r4170 929 929 void Node::CreatePartition(Vec partition){ 930 930 931 int idxm; 932 double value; 933 934 idxm=(id-1); 935 value=(double)this->indexing.doflist[0]; 936 ISSMASSERT(value>=0); 937 938 VecSetValues(partition,1,&idxm,&value,INSERT_VALUES); 939 931 ISSMERROR(" not supported yet!"); 940 932 return; 941 933 } -
issm/trunk/src/c/objects/Vertex.cpp
r4140 r4170 311 311 double value; 312 312 313 idxm=( id-1);313 idxm=(sid-1); 314 314 value=(double)this->dof; 315 315 ISSMASSERT(value>=0); … … 321 321 /*}}}*/ 322 322 /*}}}*/ 323 -
issm/trunk/todo
r4130 r4170 100 100 Check, but I'am pretty sure Dux generates du_g on 4 dofs in stokes, but writes only 2 dofs at a time, ie, writes over 101 101 Vz and Pressure dofs in the Tria Du routine coming from a Penta Spawn. 102 103 104 105 OutputResults: more complex, with time and step 106 FlagClones: fix that using the sid.
Note:
See TracChangeset
for help on using the changeset viewer.