Ignore:
Timestamp:
08/16/12 18:30:40 (13 years ago)
Author:
Eric.Larour
Message:

CHG: extended rest of the code (except for kriging code) to use IssmDouble
and IssmPDouble active and passive types, for use with AD type constructs (using
ADOLC or ADIC in the future).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/DiagnosticVert/CreateConstraintsDiagnosticVert.cpp

    r12832 r13073  
    1717        int dim;
    1818        int count;
    19         double yts;
     19        IssmDouble yts;
    2020        int    numberofvertices;
    2121
     
    5252                if(iomodel->my_vertices[i]){
    5353
    54                         if ((int)iomodel->Data(FlowequationBorderstokesEnum)[i]){
     54                        if (reCast<int,IssmDouble>(iomodel->Data(FlowequationBorderstokesEnum)[i])){
    5555                                constraints->AddObject(new SpcStatic(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,0,DiagnosticVertAnalysisEnum)); //spc to zero as vertical velocity is done in Horiz for Stokes
    5656                                count++;
Note: See TracChangeset for help on using the changeset viewer.