Changeset 19481 for issm/trunk-jpl/src/c/classes/Elements/Element.cpp
- Timestamp:
- 08/06/15 13:31:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r19479 r19481 1664 1664 this->GetInputListOnVertices(bed,BedEnum); 1665 1665 for(int i=0;i<numvertices;i++){ 1666 if(base[i]<upperdepthmelt) values[i]=0; 1667 else values[i]=meltratefactor*(tanh(base[i]-bed[i])/thresholdthickness)*(upperdepthmelt-bed[i]); 1666 if(base[i]>upperdepthmelt){ 1667 values[i]=0; 1668 } 1669 else{ 1670 values[i]=meltratefactor*tanh((base[i]-bed[i])/thresholdthickness)*(upperdepthmelt-base[i]); 1671 } 1668 1672 } 1669 1673
Note:
See TracChangeset
for help on using the changeset viewer.