Changeset 4328


Ignore:
Timestamp:
06/29/10 16:21:55 (15 years ago)
Author:
seroussi
Message:

use AddInput and not AddObject in InputDuplicate

Location:
issm/trunk/src/c/objects/Elements
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Penta.cpp

    r4285 r4328  
    10381038
    10391039        /*Add copy into inputs, it will wipe off the one already there: */
    1040         inputs->AddObject((Input*)copy);
     1040        inputs->AddInput((Input*)copy);
    10411041}
    10421042/*}}}*/
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r4309 r4328  
    14261426
    14271427        /*Add copy into inputs, it will wipe off the one already there: */
    1428         inputs->AddObject((Input*)copy);
     1428        inputs->AddInput((Input*)copy);
    14291429}
    14301430/*}}}*/
     
    23202320                /*Create New Surface: s = (1-rho_ice/rho_water) h*/
    23212321                InputDuplicate(ThicknessEnum,SurfaceEnum);     //1: copy thickness into surface
    2322                 InputScale(SurfaceEnum,(1-rho_ice/rho_water)); //2: surface = surface * (1-di)
     2322                InputScale(SurfaceEnum,(1.0-rho_ice/rho_water)); //2: surface = surface * (1-di)
    23232323
    23242324                /*Create New Bed b = -rho_ice/rho_water h*/
Note: See TracChangeset for help on using the changeset viewer.