Ignore:
Timestamp:
09/11/20 07:26:02 (5 years ago)
Author:
bdef
Message:

CHG: Some more iterator loop changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/Mergesolutionfromftogx/Mergesolutionfromftogx.cpp

    r23630 r25554  
    1717        int ssize=nodes->NumberOfDofs(SsetEnum);
    1818
    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
    2020         *that know which values should be plugged into ug and where: */
    2121        if(ssize) if(flag_ys0) ys->Set(0.0);
     
    3333
    3434        /*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);
    3737                node->VecMerge(ug,local_uf,indices_uf,local_ys,indices_ys);
    3838        }
Note: See TracChangeset for help on using the changeset viewer.