Changeset 992


Ignore:
Timestamp:
06/13/09 20:20:36 (16 years ago)
Author:
seroussi
Message:

use Bbar as in cielo when collapsed elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/ice/ModelProcessorThermal.m

    r51 r992  
    4949elements(pos)=SetStructureField(elements(pos),'element','matid',pos);
    5050elements(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:
     53el6pos=find((md.elements_type(:,1)==macayealenum() | md.elements_type(:,1)==pattynenum()) & (element_partitioning==labindex));
     54pos=find(ismember(el6pos,find(md.elements_type(:,1)==macayealenum())));
     55elements(pos)=SetStructureField(elements(pos),'element','collapse',ones(length(pos),1));
     56
    5157if strcmpi(solutiontype,'thermalsteady'),
    5258        elements(pos)=SetStructureField(elements(pos),'element','thermal_steadystate',1);
Note: See TracChangeset for help on using the changeset viewer.