source: issm/oecreview/Archive/16554-17801/ISSM-17041-17042.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 1.2 KB
  • TabularUnified ../trunk-jpl/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp

     
    180180                                                        v1 = iomodel->edges[3*i+0]-1;
    181181                                                        v2 = iomodel->edges[3*i+1]-1;
    182182                                                        if(!xIsNan<IssmDouble>(spcdata[v1]) && !xIsNan<IssmDouble>(spcdata[v2])){
    183                                                                 constraints->AddObject(new SpcStatic(iomodel->constraintcounter+2*count+1,iomodel->nodecounter+iomodel->numberofvertices+2*i+1,
     183                                                                constraints->AddObject(new SpcStatic(iomodel->constraintcounter+count+1,iomodel->nodecounter+iomodel->numberofvertices+2*i+1,
    184184                                                                                                dof,2./3.*spcdata[v1]+1./3.*spcdata[v2],analysis_type));
    185                                                                 constraints->AddObject(new SpcStatic(iomodel->constraintcounter+2*count+2,iomodel->nodecounter+iomodel->numberofvertices+2*i+2,
     185                                                                constraints->AddObject(new SpcStatic(iomodel->constraintcounter+count+2,iomodel->nodecounter+iomodel->numberofvertices+2*i+2,
    186186                                                                                                dof,1./3.*spcdata[v1]+2./3.*spcdata[v2],analysis_type));
    187187                                                                count=count+2;
    188188                                                        }
Note: See TracBrowser for help on using the repository browser.