Changeset 21403


Ignore:
Timestamp:
11/18/16 13:58:48 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed levermann 3d and cleaned up FS shelf dampening

Location:
issm/trunk-jpl/src/c
Files:
2 edited

Legend:

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

    r21388 r21403  
    38983898
    38993899        int         i,dim;
    3900         IssmDouble  Jdet,water_pressure,bed;
    3901         IssmDouble      normal[3];
     3900        IssmDouble  Jdet,water_pressure,base;
    39023901        IssmDouble *xyz_list_base = NULL;
    39033902
     
    39363935                element->NodalFunctionsVelocity(vbasis,gauss);
    39373936
    3938                 element->NormalBase(&normal[0],xyz_list_base);
    3939                 _assert_(normal[dim-1]<0.);
    3940                 base_input->GetInputValue(&bed, gauss);
    3941                 water_pressure=gravity*rho_water*bed;
     3937                base_input->GetInputValue(&base, gauss);
     3938                water_pressure=gravity*rho_water*base;
    39423939
    39433940                for(i=0;i<vnumnodes;i++){
     
    39513948        if(shelf_dampening) {
    39523949                Input*      mb_input=element->GetInput(BasalforcingsFloatingiceMeltingRateEnum); _assert_(mb_input);
    3953                 IssmDouble dt,mb,normal_b;
     3950                IssmDouble  dt,mb;
    39543951                element->FindParam(&dt,TimesteppingTimeStepEnum);
    39553952                for(int ig=gauss->begin();ig<gauss->end();ig++){
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r21402 r21403  
    717717
    718718                /*Create gauss point in the middle of the basal edge*/
    719                 Gauss* gauss=NewGauss();
     719                Gauss* gauss=NewGaussBase(1);
    720720                gauss->GaussPoint(0);
    721721
Note: See TracChangeset for help on using the changeset viewer.