Changeset 4611


Ignore:
Timestamp:
07/14/10 17:00:52 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp ΒΆ

    r4236 r4611  
    4343                if(iomodel->my_vertices[i]){
    4444
    45                         if ((int)iomodel->spcvelocity[6*i+0] | (int)iomodel->gridonhutter[i])
     45                        if ((int)iomodel->spcvelocity[6*i+0] || (int)iomodel->gridonhutter[i]){
    4646                                constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,*(iomodel->spcvelocity+6*i+3)/iomodel->yts,DiagnosticHorizAnalysisEnum)); //add count'th spc, on node i+1, setting dof 1 to vx.
    47 
    48                         count++;
     47                                count++;
     48                        }
    4949                       
    50                         if ((int)iomodel->spcvelocity[6*i+1] | (int)iomodel->gridonhutter[i])
     50                        if ((int)iomodel->spcvelocity[6*i+1] || (int)iomodel->gridonhutter[i]){
    5151                                constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,2,*(iomodel->spcvelocity+6*i+4)/iomodel->yts,DiagnosticHorizAnalysisEnum)); //add count'th spc, on node i+1, setting dof 2 to vy
    52 
    53                         count++;
     52                                count++;
     53                        }
    5454                }
    5555        }
Note: See TracChangeset for help on using the changeset viewer.