Ignore:
Timestamp:
04/16/12 14:57:18 (13 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 11994M

Location:
issm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk

  • issm/trunk/src/m/classes/steadystate.m

    r10981 r11995  
    1515                                case 0
    1616                                        obj=setdefaultparameters(obj);
    17                                 case 1
    18                                         in=varargin{1};
    19                                         if (isa(in,'numeric') & in==0),
    20                                                 % requesting templates do nothing
    21                                         else
    22                                                 error('constructor not supported');
    23                                         end
    2417                                otherwise
    2518                                        error('constructor not supported');
     
    3932
    4033                        if md.timestepping.time_step~=0,
    41                                 checkmessage(['model not consistent: for a steadystate computation, timestepping.time_step must be zero.']);
     34                                checkmessage(['for a steadystate computation, timestepping.time_step must be zero.']);
    4235                        end
    4336
    4437                        if isnan(md.diagnostic.reltol),
    45                                 checkmessage(['model not consistent: for a steadystate computation, diagnostic.reltol (relative convergence criterion) must be defined!']);
     38                                checkmessage(['for a steadystate computation, diagnostic.reltol (relative convergence criterion) must be defined!']);
    4639                        end
    4740                end % }}}
Note: See TracChangeset for help on using the changeset viewer.