Changeset 23907


Ignore:
Timestamp:
05/03/19 14:08:30 (6 years ago)
Author:
Mathieu Morlighem
Message:

BUG: pressure nodes start now at iomodel->numberofvertices+iomodel->numberofedges+iomodel->numberofverticalfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r23897 r23907  
    159159                                                        if(iomodel->my_vertices[i]){
    160160                                                                if(IoCodeToEnumVertexEquation(reCast<int>(vertices_type[i]))==NoneApproximationEnum){
    161                                                                         constraints->AddObject(new SpcStatic(count+1,iomodel->numberofvertices+iomodel->numberofedges+iomodel->numberoffaces+i+1,0,g*rho_ice*(surface[i]-z[i])/FSreconditioning,StressbalanceAnalysisEnum));
     161                                                                        constraints->AddObject(new SpcStatic(count+1,iomodel->numberofvertices+iomodel->numberofedges+iomodel->numberofverticalfaces+i+1,0,g*rho_ice*(surface[i]-z[i])/FSreconditioning,StressbalanceAnalysisEnum));
    162162                                                                        count++;
    163163                                                                }
Note: See TracChangeset for help on using the changeset viewer.