Changeset 19991
- Timestamp:
- 01/22/16 19:26:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r19990 r19991 3641 3641 G_elastic = (love_k[nl-1]-love_h[nl-1])/2.0/sin(alpha/2.0); 3642 3642 if(legendre_precompute){ 3643 for(int n=0;n<nl;n++) G_elastic += deltalove[n]*legendre_coefficients[ (int)((M-1)*(cosalpha+1.0)/2.0)*nl+n];3643 for(int n=0;n<nl;n++) G_elastic += deltalove[n]*legendre_coefficients[reCast<int,IssmDouble>((M-1)*(cosalpha+1.0)/2.0)*nl+n]; 3644 3644 } 3645 3645 else{
Note:
See TracChangeset
for help on using the changeset viewer.