Changeset 4170


Ignore:
Timestamp:
06/23/10 14:00:45 (15 years ago)
Author:
Eric.Larour
Message:

Corrected problem in FlagClones, using the sid

Location:
issm/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/DataSet/DataSet.cpp

    r4145 r4170  
    487487
    488488        int rank;
    489         int id;
     489        int sid;
    490490        vector<Object*>::iterator object;
    491491
     
    496496
    497497                /*Which id does it have: */
    498                 id=(*object)->Id();
     498                sid=(*object)->Sid();
    499499
    500500                /*Plug rank into ranks, according to id: */
    501                 ranks[id-1]=rank; //Matlab ids start at 1.
     501                ranks[sid]=rank;
    502502        }
    503503        return;
  • issm/trunk/src/c/objects/Node.cpp

    r4140 r4170  
    929929void  Node::CreatePartition(Vec partition){
    930930
    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!");
    940932        return;
    941933}
  • issm/trunk/src/c/objects/Vertex.cpp

    r4140 r4170  
    311311        double   value;
    312312
    313         idxm=(id-1);
     313        idxm=(sid-1);
    314314        value=(double)this->dof;
    315315        ISSMASSERT(value>=0);
     
    321321/*}}}*/
    322322/*}}}*/
     323
  • issm/trunk/todo

    r4130 r4170  
    100100Check, 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
    101101Vz and Pressure dofs in the Tria Du routine coming from a Penta Spawn.
     102
     103
     104
     105OutputResults: more complex, with time and step
     106FlagClones: fix that using the sid.
Note: See TracChangeset for help on using the changeset viewer.