Ignore:
Timestamp:
09/13/10 17:35:22 (15 years ago)
Author:
Eric.Larour
Message:

Now, Kff partition schema in serial mode also

File:
1 edited

Legend:

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

    r5057 r5787  
    66#include "./Reducevectorgtosx.h"
    77
    8 void Reducevectorgtosx( Vec* pys, Vec yg, NodeSets* nodesets){
     8void Reducevectorgtosx( Vec* pys, Vec yg, NodeSets* nodesets,Parameters* parameters){
    99
    1010        /*output: */
    1111        Vec ys=NULL;
    1212
     13        /*what type of partitioning: */
     14        bool kffpartitioning=false;
     15
     16        /*find parameter: */
     17        parameters->FindParam(&kffpartitioning,KffEnum);
     18
    1319        if(nodesets){
    1420                if (nodesets->GetGSize() && nodesets->GetSSize()){
    15                         VecPartition(&ys,yg,nodesets->GetPV_S(),nodesets->GetSSize());
     21                        VecPartition(&ys,yg,nodesets->GetPV_S(),nodesets->GetSSize(),kffpartitioning);
    1622                }
    1723        }
Note: See TracChangeset for help on using the changeset viewer.