Changeset 9277 for issm/trunk


Ignore:
Timestamp:
08/11/11 09:55:15 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added minus sign for hydrolic velocity

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

Legend:

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

    r9271 r9277  
    408408
    409409                /* Water velocity x and y components */
    410                 vx[iv]= pow(w,2)/(12 * mu_water)*(rho_ice*g*dsdx+(rho_water-rho_ice)*g*dbdx);
    411                 vy[iv]= pow(w,2)/(12 * mu_water)*(rho_ice*g*dsdy+(rho_water-rho_ice)*g*dbdy);
     410                vx[iv]= - pow(w,2)/(12 * mu_water)*(rho_ice*g*dsdx+(rho_water-rho_ice)*g*dbdx);
     411                vy[iv]= - pow(w,2)/(12 * mu_water)*(rho_ice*g*dsdy+(rho_water-rho_ice)*g*dbdy);
    412412                //vx[iv]=0.001;
    413413                //vy[iv]=0;
  • issm/trunk/src/c/solvers/solver_nonlinear.cpp

    r9271 r9277  
    3535        femmodel->parameters->FindParam(&max_nonlinear_iterations,MaxNonlinearIterationsEnum);
    3636        femmodel->parameters->FindParam(&configuration_type,ConfigurationTypeEnum);
    37         UpdateConstraintsx(femmodel->nodes,femmodel->constraints,femmodel->parameters);
     37        //UpdateConstraintsx(femmodel->nodes,femmodel->constraints,femmodel->parameters);
    3838
    3939        /*Were loads requested as output? : */
Note: See TracChangeset for help on using the changeset viewer.