Changeset 20081
- Timestamp:
- 02/04/16 13:45:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r20078 r20081 1597 1597 a=(bottomplumedepth-topplumedepth)/2.; 1598 1598 e=pow(a*a-c*c,1./2.)/a; 1599 A0=(1-e*e)/(e*e*e)*(1/2*log((1+e)/(1-e))-e); 1600 middleplumedepth=-topplumedepth-crustthickness-a; 1599 A0=(1-pow(e,2.))/pow(e,3.)*(1./2.*log((1+e)/(1-e))-e); 1601 1600 for(int i=0;i<numvertices;i++){ 1602 1601 y=xyz_list[i*3+0]-plumex; … … 1607 1606 eprime=pow((a*a-plumeradius*plumeradius)/(a*a+lambda),1./2.); 1608 1607 Alambda=(1.-e*e)/(e*e*e)*(1./2.*log((1.+eprime)/(1.-eprime))-eprime); 1609 dt=dtbg-(nusselt-1.)/(1.+A0*(nusselt-1.))*(Alambda*dtbg+ middleplumedepth*dtbg*dAlambda);1608 dt=dtbg-(nusselt-1.)/(1.+A0*(nusselt-1.))*(Alambda*dtbg+x*dtbg*dAlambda); 1610 1609 plumeheat=mantleconductivity*dt; 1611 1610 crustheat=uppercrustheat*uppercrustthickness+lowercrustheat*(crustthickness-uppercrustthickness);
Note:
See TracChangeset
for help on using the changeset viewer.