Changeset 6237


Ignore:
Timestamp:
10/11/10 11:46:14 (14 years ago)
Author:
seroussi
Message:

constraints must created even if the node does not belong to the cpu

Location:
issm/trunk/src/c/modules/ModelProcessorx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/Balancedvelocities/CreateConstraintsBalancedvelocities.cpp

    r4236 r6237  
    3434        for (i=0;i<iomodel->numberofvertices;i++){
    3535                /*keep only this partition's nodes:*/
    36                 if((iomodel->my_vertices[i]==1)){
     36                if((iomodel->my_vertices[i])){
    3737
    3838                        if ((int)iomodel->spcvelocity[6*i+0] && (int)iomodel->spcvelocity[6*i+1]){ //spc if vx and vy are constrained
     
    4343                                count++;
    4444                        }
    45                 } //if((my_vertices[i]==1))
     45                } //if((my_vertices[i]))
    4646        }
    4747
  • issm/trunk/src/c/modules/ModelProcessorx/Prognostic/CreateConstraintsPrognostic.cpp

    r4739 r6237  
    3939                for (i=0;i<iomodel->numberofvertices;i++){
    4040                        /*keep only this partition's nodes:*/
    41                         if((iomodel->my_vertices[i]==1)){
     41                        if((iomodel->my_vertices[i])){
    4242
    4343                                if ((int)iomodel->spcthickness[2*i]){
     
    4646                                        count++;
    4747                                }
    48                         } //if((my_vertices[i]==1))
     48                        } //if((my_vertices[i]))
    4949                }
    5050
  • issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateConstraintsThermal.cpp

    r4236 r6237  
    3939        for (i=0;i<iomodel->numberofvertices;i++){
    4040                /*keep only this partition's nodes:*/
    41                 if((iomodel->my_vertices[i]==1)){
     41                if((iomodel->my_vertices[i])){
    4242
    4343                        if ((int)iomodel->spctemperature[2*i]){
Note: See TracChangeset for help on using the changeset viewer.