Changeset 2307


Ignore:
Timestamp:
09/24/09 10:51:33 (15 years ago)
Author:
Eric.Larour
Message:

Changed antzoom to basinzoom.
marshall: added parameteroutput in marshalling.
extrude: added extrusion of balanced velocities.
ismodelselfconsistent: checked that numoutput and parameteroutput are same size.

Location:
issm/trunk/src/m/classes/public
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/extrude.m

    r2269 r2307  
    137137md.vy_obs=project3d(md,md.vy_obs,'node');
    138138md.vel_obs=project3d(md,md.vel_obs,'node');
     139md.vx_bal=project3d(md,md.vx_bal,'node');
     140md.vy_bal=project3d(md,md.vy_bal,'node');
     141md.vel_bal=project3d(md,md.vel_bal,'node');
    139142md.vel_obs_raw=project3d(md,md.vel_obs_raw,'node');
    140143md.accumulation=project3d(md,md.accumulation,'node');
  • issm/trunk/src/m/classes/public/ismodelselfconsistent.m

    r2298 r2307  
    171171if ~isscalar(md.artificial_diffusivity),
    172172        disp('artificial_diffusivity should be a scalar (1 or 0)');
     173        bool=0;return;
     174end
     175
     176%PARAMETEROUTPUT
     177if md.numoutput~=length(md.parameteroutput),
     178        disp('numoutput should be the same size as parameteroutput');
    173179        bool=0;return;
    174180end
  • issm/trunk/src/m/classes/public/marshall.m

    r2268 r2307  
    151151WriteData(fid,md.riftinfo,'Mat','riftinfo');
    152152
     153%parameter output.
     154md.numoutput=length(md.parameteroutput);
     155WriteData(fid,md.numoutput,'Integer','numoutput');
     156if(md.numoutput),
     157        for i=1:md.numoutput,
     158                WriteData(fid,md.parameteroutput{i},'String',['parameteroutput_' num2str(i-1)]);
     159        end
     160end
     161
    153162%Qmu: the rest will be handle by qmumarshall
    154163WriteData(fid,md.qmu_analysis,'Integer','qmu_analysis');
  • issm/trunk/src/m/classes/public/plot/applyoptions.m

    r2262 r2307  
    7171end
    7272
    73 %Antzoom
    74 if ~isnan(options_structure.antzoom),                                                                                                                         
    75         antzoom(options_structure.antzoom);                                                                                                                           
     73%Basinzoom
     74if ~isnan(options_structure.basinzoom),                                                                                                                         
     75        basinzoom(options_structure.basinzoom);                                                                                                                           
    7676end
    7777
  • issm/trunk/src/m/classes/public/plot/parse_options.m

    r2256 r2307  
    118118
    119119
    120 %Antzoom
    121 antzoomvalues=findarg(optionstring,'antzoom');
    122 if ~isempty(antzoomvalues),
    123         options_struct.antzoom=antzoomvalues(1).value;
    124 else
    125         options_struct.antzoom=NaN;
     120%Basinzoom
     121basinzoomvalues=findarg(optionstring,'basinzoom');
     122if ~isempty(basinzoomvalues),
     123        options_struct.basinzoom=basinzoomvalues(1).value;
     124else
     125        options_struct.basinzoom=NaN;
    126126end
    127127
  • issm/trunk/src/m/classes/public/plot/plotdoc.m

    r2303 r2307  
    4949
    5050disp('       ''axis'': same as standard matlab option (''equal'',''off'',''equal on'',...)');
    51 disp('       ''antzoom'': zoom on a given Antarctic basin (''pineislandglacier'',''ronneiceshelf'', type antzoom for a complete list)');
     51disp('       ''basinzoom'': zoom on a given basin (''pineislandglacier'',''ronneiceshelf'', type basinzoom for a complete list)');
    5252disp('       ''caxis'': modify  colorbar range. (array of type [a b] where b>=a)');
    5353disp('       ''colorlevels'':  N or {value1,valu2,value3,...} used if quiver, use different colors for the given number of colors or limits');
Note: See TracChangeset for help on using the changeset viewer.