Changeset 1670


Ignore:
Timestamp:
08/13/09 15:16:59 (16 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

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

    r1666 r1670  
    1111        error('ismodelselfconsistent error message: wrong usage');
    1212end
     13
     14%initialize output
     15bool=1;
    1316
    1417%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   COMMON CHECKS   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
    499502end
    500503
    501 %No problems, just return 1;
    502 bool=1;
    503 return;
     504%ICE and MACAYEAL
     505if (strcmpi(package,'ice') | strcmpi(package,'macayeal')),
     506
     507        if (isnan(md.eps_rel) & isnan(md.eps_abs)),
     508                disp(['At least eps_rel must be positive since eps_res not supported by package ' package '!']);
     509                bool=0; return;
     510        end
     511
     512end
Note: See TracChangeset for help on using the changeset viewer.