Changeset 11816


Ignore:
Timestamp:
03/29/12 15:04:23 (13 years ago)
Author:
seroussi
Message:

forgot one file !

File:
1 edited

Legend:

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

    r11813 r11816  
    88                reltol            = 0;
    99                maxiter           = 0;
    10                 isdiagnostic      = 0;
    11                 isthermal         = 0;
    1210                requested_outputs = NaN;
    1311        end
     
    3432                        %Relative tolerance for the steadystate convertgence
    3533                        obj.reltol=0.01;
    36                          
    37                         %Default is diagnostic and thermal
    38                         obj.isdiagnostic=1;
    39                         obj.isthermal=1;
    4034                end % }}}
    4135                function checkconsistency(obj,md,solution,analyses) % {{{
     
    5145                                checkmessage(['model not consistent: for a steadystate computation, diagnostic.reltol (relative convergence criterion) must be defined!']);
    5246                        end
    53 
    54                         checkfield(md,'transient.isdiagnostic','numel',1,'values',[0 1]);
    55                         checkfield(md,'transient.isthermal','numel',1,'values',[0 1]);
    5647                end % }}}
    5748                function disp(obj) % {{{
     
    6051                        fielddisplay(obj,'reltol','relative tolerance criterion');
    6152                        fielddisplay(obj,'maxiter','maximum number of iterations');
    62                         fielddisplay(obj,'isthermal','indicates if a thermal solution is used in the steady-state');
    63                         fielddisplay(obj,'isdiagnostic','indicates if a diagnostic solution is used in the steady-state');
    6453                        fielddisplay(obj,'requested_outputs','additional requested outputs');
    6554
     
    6857                        WriteData(fid,'object',obj,'fieldname','reltol','format','Double');
    6958                        WriteData(fid,'object',obj,'fieldname','maxiter','format','Integer');
    70                         WriteData(fid,'object',obj,'fieldname','isdiagnostic','format','Boolean');
    71                         WriteData(fid,'object',obj,'fieldname','isthermal','format','Boolean');
    7259                        WriteData(fid,'object',obj,'fieldname','requested_outputs','format','DoubleMat','mattype',3);
    7360                end % }}}
Note: See TracChangeset for help on using the changeset viewer.