Changeset 423
- Timestamp:
- 05/14/09 10:55:38 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Tria.cpp
r419 r423 2172 2172 if(obs_vx_list[i]==0)scalex=0; 2173 2173 if(obs_vy_list[i]==0)scaley=0; 2174 relative_list[i]=0.5*(scalex*pow((vx_list[i]-obs_vx_list[i]),2)+scaley*pow((vy_list[i]-obs_vy_list[i]),2)) *Jdet*gauss_weight;2174 relative_list[i]=0.5*(scalex*pow((vx_list[i]-obs_vx_list[i]),2)+scaley*pow((vy_list[i]-obs_vy_list[i]),2)); 2175 2175 } 2176 2176 }
Note:
See TracChangeset
for help on using the changeset viewer.