- Timestamp:
- 09/11/20 07:26:02 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/Mergesolutionfromftogx/Mergesolutionfromftogx.cpp
r23630 r25554 17 17 int ssize=nodes->NumberOfDofs(SsetEnum); 18 18 19 /*serialize uf and ys: those two vectors will be indexed by the nodes, who are the only ones 19 /*serialize uf and ys: those two vectors will be indexed by the nodes, who are the only ones 20 20 *that know which values should be plugged into ug and where: */ 21 21 if(ssize) if(flag_ys0) ys->Set(0.0); … … 33 33 34 34 /*Let nodes figure it out*/ 35 for( int i=0;i<nodes->Size();i++){36 Node* node= (Node*)nodes->GetObjectByOffset(i);35 for(Object* & object: nodes->objects){ 36 Node* node=xDynamicCast<Node*>(object); 37 37 node->VecMerge(ug,local_uf,indices_uf,local_ys,indices_ys); 38 38 }
Note:
See TracChangeset
for help on using the changeset viewer.