Ignore:
Timestamp:
07/19/12 15:32:17 (13 years ago)
Author:
Mathieu Morlighem
Message:

ismodelselfconsistant now uses a model field instead of a persistent variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/steadystate.m

    r11924 r12663  
    2626                        obj.reltol=0.01;
    2727                end % }}}
    28                 function checkconsistency(obj,md,solution,analyses) % {{{
     28                function md = checkconsistency(obj,md,solution,analyses) % {{{
    2929
    3030                        %Early return
     
    3232
    3333                        if md.timestepping.time_step~=0,
    34                                 checkmessage(['for a steadystate computation, timestepping.time_step must be zero.']);
     34                                md = checkmessage(md,['for a steadystate computation, timestepping.time_step must be zero.']);
    3535                        end
    3636
    3737                        if isnan(md.diagnostic.reltol),
    38                                 checkmessage(['for a steadystate computation, diagnostic.reltol (relative convergence criterion) must be defined!']);
     38                                md = checkmessage(md,['for a steadystate computation, diagnostic.reltol (relative convergence criterion) must be defined!']);
    3939                        end
    4040                end % }}}
Note: See TracChangeset for help on using the changeset viewer.