Changeset 18498


Ignore:
Timestamp:
09/10/14 14:38:58 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed ssh indexing

File:
1 edited

Legend:

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

    r18496 r18498  
    131131        xDelete<IssmDouble>(xyz_list);
    132132        xDelete<IssmDouble>(B);
     133        xDelete<IssmDouble>(M);
    133134        delete gauss;
    134135        return Ke;
     
    207208                oceanvx_input->GetInputValue(&oceanvx,gauss);
    208209                oceanvy_input->GetInputValue(&oceanvy,gauss);
    209                 oceanssh_input->GetInputDerivativeValue(&dssh[2],xyz_list,gauss);
     210                oceanssh_input->GetInputDerivativeValue(&dssh[0],xyz_list,gauss);
    210211
    211212                /*Previous speed (finite differencing)*/
     
    215216                }
    216217
    217                 /*Atmespheric forcing*/
     218                /*Atmospheric forcing*/
    218219                vnorm    = sqrt(windvx*windvx + windvy*windvy);
    219220                constant_part = concentration*air_coef*rho_air*(air_lin_drag_coef+air_quad_drag_coef*vnorm);
Note: See TracChangeset for help on using the changeset viewer.