Changeset 335
- Timestamp:
- 05/11/09 11:20:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Tria.cpp
r301 r335 2346 2346 /*Get bed slope: */ 2347 2347 GetParameterDerivativeValue(&slope[0], &b[0],&xyz_list[0][0], gauss_l1l2l3); 2348 dbdx= -slope[0];2349 dbdy= -slope[1];2348 dbdx=slope[0]; 2349 dbdy=slope[1]; 2350 2350 2351 2351 /* Get Jacobian determinant: */ … … 2358 2358 /*Build gaussian vector: */ 2359 2359 for(i=0;i<numgrids;i++){ 2360 pe_g_gaussian[i]= Jdet*gauss_weight*(vx*dbdx+vy*dbdy-meltingvalue)*L[i];2360 pe_g_gaussian[i]=-Jdet*gauss_weight*(vx*dbdx+vy*dbdy-meltingvalue)*L[i]; 2361 2361 } 2362 2362
Note:
See TracChangeset
for help on using the changeset viewer.