Changeset 992
- Timestamp:
- 06/13/09 20:20:36 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/ice/ModelProcessorThermal.m
r51 r992 49 49 elements(pos)=SetStructureField(elements(pos),'element','matid',pos); 50 50 elements(pos)=SetStructureField(elements(pos),'element','geothermalflux',md.geothermalflux(md.elements(pos,1:6))); 51 %For penta elements where we want to implement MacAyeal's element, we need to collapse 52 %the formulation into trias: 53 el6pos=find((md.elements_type(:,1)==macayealenum() | md.elements_type(:,1)==pattynenum()) & (element_partitioning==labindex)); 54 pos=find(ismember(el6pos,find(md.elements_type(:,1)==macayealenum()))); 55 elements(pos)=SetStructureField(elements(pos),'element','collapse',ones(length(pos),1)); 56 51 57 if strcmpi(solutiontype,'thermalsteady'), 52 58 elements(pos)=SetStructureField(elements(pos),'element','thermal_steadystate',1);
Note:
See TracChangeset
for help on using the changeset viewer.