Changeset 21403
- Timestamp:
- 11/18/16 13:58:48 (8 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
r21388 r21403 3898 3898 3899 3899 int i,dim; 3900 IssmDouble Jdet,water_pressure,bed; 3901 IssmDouble normal[3]; 3900 IssmDouble Jdet,water_pressure,base; 3902 3901 IssmDouble *xyz_list_base = NULL; 3903 3902 … … 3936 3935 element->NodalFunctionsVelocity(vbasis,gauss); 3937 3936 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; 3942 3939 3943 3940 for(i=0;i<vnumnodes;i++){ … … 3951 3948 if(shelf_dampening) { 3952 3949 Input* mb_input=element->GetInput(BasalforcingsFloatingiceMeltingRateEnum); _assert_(mb_input); 3953 IssmDouble dt,mb,normal_b;3950 IssmDouble dt,mb; 3954 3951 element->FindParam(&dt,TimesteppingTimeStepEnum); 3955 3952 for(int ig=gauss->begin();ig<gauss->end();ig++){ -
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r21402 r21403 717 717 718 718 /*Create gauss point in the middle of the basal edge*/ 719 Gauss* gauss=NewGauss ();719 Gauss* gauss=NewGaussBase(1); 720 720 gauss->GaussPoint(0); 721 721
Note:
See TracChangeset
for help on using the changeset viewer.