Ignore:
Timestamp:
08/07/10 21:19:41 (15 years ago)
Author:
Eric.Larour
Message:

Took out rgbs, simplifies the code a lot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/Reducevectorgtofx/Reducevectorgtofx.cpp

    r3332 r5057  
    1111        Vec uf=NULL;
    1212
    13         /*intermediary: */
    14         Vec un=NULL;
    15 
    1613        if(nodesets){
    1714
    1815
    19                 if (nodesets->GetNSize() && nodesets->GetFSize()){
     16                if (nodesets->GetGSize() && nodesets->GetFSize()){
    2017
    21                         VecPartition(&un,ug,nodesets->GetPV_N(),nodesets->GetNSize());
    22                
    23                         VecPartition(&uf,un,nodesets->GetPV_F(),nodesets->GetFSize());
     18                        VecPartition(&uf,ug,nodesets->GetPV_F(),nodesets->GetFSize());
    2419               
    2520                }
    26 
    27                 /*Free ressources:*/
    28                 VecFree(&un);
    2921        }
    3022       
Note: See TracChangeset for help on using the changeset viewer.