Changeset 1777
- Timestamp:
- 08/19/09 07:35:45 (15 years ago)
- Location:
- issm/trunk/src/m/utils/BC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/BC/SetIceSheetBC.m
r1754 r1777 38 38 if (length(md.observed_temperature)==md.numberofgrids), 39 39 displaystring(md.debug,'%s',[' boundary conditions for thermal model']); 40 md.spctemperature=ones(md.numberofgrids,2); %observed temperauture everywhere 41 md.spctemperature(:,2)=md.observed_temperature; %values of the spcs 40 md.spctemperature=[md.gridonsurface md.observed_temperature]; %impose observed temperature on surface 42 41 if (length(md.geothermalflux)~=md.numberofgrids), 43 42 md.geothermalflux=50*10^-3*ones(md.numberofgrids,1); %50 mW/m^2 -
issm/trunk/src/m/utils/BC/SetIceShelfBC.m
r1768 r1777 51 51 if (length(md.observed_temperature)==md.numberofgrids), 52 52 displaystring(md.debug,'%s',[' boundary conditions for thermal model']); 53 md.spctemperature=ones(md.numberofgrids,2); %surface temperature 54 md.spctemperature(:,2)=md.observed_temperature; %values of the spcs 53 md.spctemperature=[md.gridonsurface md.observed_temperature]; %impose observed temperature on surface 55 54 if (length(md.geothermalflux)~=md.numberofgrids), 56 55 md.geothermalflux=zeros(md.numberofgrids,1); -
issm/trunk/src/m/utils/BC/SetMarineIceSheetBC.m
r1754 r1777 63 63 if (length(md.observed_temperature)==md.numberofgrids), 64 64 displaystring(md.debug,'%s',[' boundary conditions for thermal model']); 65 md.spctemperature=ones(md.numberofgrids,2); %surface temperature 66 md.spctemperature(:,2)=md.observed_temperature; %values of the spcs 65 md.spctemperature=[md.gridonsurface md.observed_temperature]; %impose observed temperature on surface 67 66 if (length(md.geothermalflux)~=md.numberofgrids), 68 67 md.geothermalflux=zeros(md.numberofgrids,1);
Note:
See TracChangeset
for help on using the changeset viewer.