Changeset 21405
- Timestamp:
- 11/21/16 12:00:04 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/initialization.m
r21049 r21405 129 129 if md.thermal.isenthalpy, 130 130 tpmp = md.materials.meltingpoint - md.materials.beta*md.initialization.pressure; 131 pos = find(md.initialization.temperature>=tpmp );131 pos = find(md.initialization.temperature>=tpmp-1e-12); 132 132 enthalpy = md.materials.heatcapacity*(md.initialization.temperature-md.constants.referencetemperature); 133 133 enthalpy(pos) = md.materials.heatcapacity*(tpmp(pos) - md.constants.referencetemperature) + md.materials.latentheat*md.initialization.waterfraction(pos);
Note:
See TracChangeset
for help on using the changeset viewer.