Changeset 12643 for issm/trunk
- Timestamp:
- 07/17/12 12:10:09 (13 years ago)
- Location:
- issm/trunk/src/c/objects/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r12641 r12643 2262 2262 double h[NUMVERTICES],s[NUMVERTICES]; // ,b 2263 2263 double rho_water,rho_ice; 2264 int i;2265 2264 2266 2265 /*Recover monthly temperatures and precipitation*/ … … 2290 2289 2291 2290 /*measure the surface mass balance*/ 2292 for (i = 0; i < NUMVERTICES; i++){2293 agd[i ]=PddSurfaceMassBlance(&monthlytemperatures[i][0], &monthlyprec[i][0], pdds, pds, signorm, yts, h[i], s[i], rho_ice, rho_water);2291 for (int iv = 0; iv < NUMVERTICES; iv++){ 2292 agd[iv]=PddSurfaceMassBlance(&monthlytemperatures[iv][0], &monthlyprec[iv][0], pdds, pds, signorm, yts, h[iv], s[iv], rho_ice, rho_water); 2294 2293 } 2295 2294 -
issm/trunk/src/c/objects/Elements/Tria.cpp
r12641 r12643 2093 2093 double h[NUMVERTICES],s[NUMVERTICES]; // ,b 2094 2094 double rho_water,rho_ice; 2095 int i;2096 2095 2097 2096 /*Recover monthly temperatures and precipitation*/ … … 2121 2120 2122 2121 /*measure the surface mass balance*/ 2123 for (i = 0; i < NUMVERTICES; i++){2124 agd[i ]=PddSurfaceMassBlance(&monthlytemperatures[i][0], &monthlyprec[i][0], pdds, pds, signorm, yts, h[i], s[i], rho_ice, rho_water);2122 for (int iv = 0; iv<NUMVERTICES; iv++){ 2123 agd[iv]=PddSurfaceMassBlance(&monthlytemperatures[iv][0], &monthlyprec[iv][0], pdds, pds, signorm, yts, h[iv], s[iv], rho_ice, rho_water); 2125 2124 } 2126 2125
Note:
See TracChangeset
for help on using the changeset viewer.