Changeset 6239


Ignore:
Timestamp:
10/11/10 14:32:19 (14 years ago)
Author:
seroussi
Message:

problem with geothermal flux

Location:
issm/trunk/src/m/model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/extrude.m

    r5524 r6239  
    232232md.melting_rate=project3d(md,md.melting_rate,'node',1);
    233233md.observed_temperature=project3d(md,md.observed_temperature,'node');
    234 md.geothermalflux=project3d(md,md.geothermalflux,'node',1); %bedrock only gets geothermal flux
     234if ~isnan(md.geothermalflux)
     235        md.geothermalflux=project3d(md,md.geothermalflux,'node',1); %bedrock only gets geothermal flux
     236end
    235237
    236238%increase connectivity if less than 25:
  • issm/trunk/src/m/model/ismodelselfconsistent.m

    r6229 r6239  
    276276
    277277        %VELOCITIES AND PRESSURE
    278         fields={'vx','vy','vz','pressure'};
     278        fields={'vx','vy','vz','pressure','geothermalflux'};
    279279        checksize(md,fields,[md.numberofgrids 1]);
    280280        checknan(md,fields);
Note: See TracChangeset for help on using the changeset viewer.