Changeset 2208


Ignore:
Timestamp:
09/11/09 10:20:03 (16 years ago)
Author:
Eric.Larour
Message:

neumann boundary conditions gone, corrected displaybc.
added check for diagnostic horiz, when all grids are spc'd.

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

Legend:

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

    r1755 r2208  
    2424disp(sprintf('\n      prognostic:'));
    2525fielddisplay(md,'spcthickness','constraints flag list (first column) and values (second column)');
    26 fielddisplay(md,'neumannvalues_prog','values of the Neumann [m/a]');
    2726
    2827disp(sprintf('\n      thermal:'));
  • issm/trunk/src/m/classes/public/ismodelselfconsistent.m

    r2164 r2208  
    204204%DIAGNOSTIC
    205205if md.analysis_type==DiagnosticAnalysisEnum,
     206
     207        %CHECK THAT WE ARE NOT FULLY CONSTRAINED
     208        if strcmpi(md.type,'2d'),
     209                if isempty(find(~md.spcvelocity(:,1:2))),
     210                        disp(['model ' md.name ' is totally constrained, no need to solve!']);
     211                        bool=0;return;
     212                end
     213        end
    206214
    207215        %HUTTER ON ICESHELF WARNING
Note: See TracChangeset for help on using the changeset viewer.