Changeset 629


Ignore:
Timestamp:
05/28/09 14:56:58 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added a routine to compute stress and strainrate properties quickly from a given velocity (only MacAyeal and 2d)

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

Legend:

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

    r604 r629  
    5151%check solution type is supported
    5252if ~(strcmpi(analysis_type,'control') |  ...
    53         strcmpi(analysis_type,'diagnostic') |  ...
    54         strcmpi(analysis_type,'prognostic') |  ...
    55         strcmpi(analysis_type,'thermal') |  ...
    56         strcmpi(analysis_type,'mesh') |  ...
    57         strcmpi(analysis_type,'mesh2grid') |  ...
    58         strcmpi(analysis_type,'transient') ),
     53                strcmpi(analysis_type,'diagnostic') |  ...
     54                strcmpi(analysis_type,'prognostic') |  ...
     55                strcmpi(analysis_type,'thermal') |  ...
     56                strcmpi(analysis_type,'parameters') |  ...
     57                strcmpi(analysis_type,'mesh') |  ...
     58                strcmpi(analysis_type,'mesh2grid') |  ...
     59                strcmpi(analysis_type,'transient') ),
    5960        error(['process_solve_options error message: analysis_type ' analysis_type ' not supported yet!']);
    6061end
    6162if ~(strcmpi(sub_analysis_type,'none') |  ...
    62         strcmpi(sub_analysis_type,'steady') |  ...
    63         strcmpi(sub_analysis_type,'horiz') |  ...
    64         strcmpi(sub_analysis_type,'vert') |  ...
    65         strcmpi(sub_analysis_type,'') |  ...
    66         strcmpi(sub_analysis_type,'transient') ),
     63                strcmpi(sub_analysis_type,'steady') |  ...
     64                strcmpi(sub_analysis_type,'horiz') |  ...
     65                strcmpi(sub_analysis_type,'vert') |  ...
     66                strcmpi(sub_analysis_type,'') |  ...
     67                strcmpi(sub_analysis_type,'transient') ),
    6768        error(['process_solve_options error message: sub_analysis_type ' sub_analysis_type ' not supported yet!']);
    6869end
  • issm/trunk/src/m/classes/public/solve.m

    r501 r629  
    7272elseif strcmpi(md.analysis_type,'thermal'),
    7373        md=thermal(md);
     74
     75elseif strcmpi(md.analysis_type,'parameters'),
     76        md=parameters(md);
     77
    7478else
    7579        error('solution type not supported for this model configuration.');
Note: See TracChangeset for help on using the changeset viewer.