Ignore:
Timestamp:
07/15/11 08:49:34 (14 years ago)
Author:
Eric.Larour
Message:

Implemented transient boundary conditions. Applied to thermal core only for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/BC/SetIceShelfBC.m

    r8823 r9002  
    9393
    9494if (length(md.observed_temperature)==md.numberofnodes),
    95         md.spctemperature=[md.nodeonsurface md.observed_temperature]; %impose observed temperature on surface
     95        md.spctemperature=NaN*ones(md.numberofnodes,1);
     96        pos=find(md.nodeonsurface); md.spctemperature(pos)=md.observed_temperature(pos); %impose observed temperature on surface
    9697        if (length(md.geothermalflux)~=md.numberofnodes),
    9798                md.geothermalflux=zeros(md.numberofnodes,1);
Note: See TracChangeset for help on using the changeset viewer.