Changeset 6244


Ignore:
Timestamp:
10/12/10 09:01:33 (15 years ago)
Author:
seroussi
Message:

fixed basalfriction problem in thermal ice sheets

File:
1 edited

Legend:

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

    r6238 r6244  
    45114511                geothermalflux_input->GetParameterValue(&geothermalflux_value,gauss);
    45124512                friction->GetAlpha2(&alpha2,gauss,VxEnum,VyEnum,VzEnum);
     4513                vx_input->GetParameterValue(&vx,gauss);
     4514                vy_input->GetParameterValue(&vy,gauss);
     4515                basalfriction=alpha2*(pow(vx,2.0)+pow(vy,2.0));
    45134516               
    45144517                scalar=gauss->weight*Jdet*(basalfriction+geothermalflux_value)/(heatcapacity*rho_ice);
Note: See TracChangeset for help on using the changeset viewer.