- Timestamp:
- 09/13/10 17:35:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/Reducevectorgtosx/Reducevectorgtosx.cpp
r5057 r5787 6 6 #include "./Reducevectorgtosx.h" 7 7 8 void Reducevectorgtosx( Vec* pys, Vec yg, NodeSets* nodesets ){8 void Reducevectorgtosx( Vec* pys, Vec yg, NodeSets* nodesets,Parameters* parameters){ 9 9 10 10 /*output: */ 11 11 Vec ys=NULL; 12 12 13 /*what type of partitioning: */ 14 bool kffpartitioning=false; 15 16 /*find parameter: */ 17 parameters->FindParam(&kffpartitioning,KffEnum); 18 13 19 if(nodesets){ 14 20 if (nodesets->GetGSize() && nodesets->GetSSize()){ 15 VecPartition(&ys,yg,nodesets->GetPV_S(),nodesets->GetSSize() );21 VecPartition(&ys,yg,nodesets->GetPV_S(),nodesets->GetSSize(),kffpartitioning); 16 22 } 17 23 }
Note:
See TracChangeset
for help on using the changeset viewer.