Changeset 8032 for issm/trunk


Ignore:
Timestamp:
04/22/11 16:14:31 (14 years ago)
Author:
seroussi
Message:

added type of rheology_law in display and ismodelselfconsistent

Location:
issm/trunk/src/m/model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/display/displaymaterials.m

    r5175 r8032  
    1515fielddisplay(md,'rheology_B','flow law parameter [Pa/s^(1/n)]');
    1616fielddisplay(md,'rheology_n','Glen''s flow law exponent');
     17fielddisplay(md,'rheology_law','law for the temperature dependance of the rheology: NoneEnum, PatersonEnum or Arrhenius');
    1718fielddisplay(md,'heatcapacity','heat capacity [J/kg/K]');
    1819fielddisplay(md,'thermalconductivity','ice thermal conductivity [W/m/K]');
  • issm/trunk/src/m/model/ismodelselfconsistent.m

    r7801 r8032  
    176176        error(['model not consistent: model ' md.name ' hydrostatic_adjustment field should be AbsoluteEnum or IncrementalEnum']);
    177177end
     178if ~ismember(md.rheology_law,[NoneEnum PatersonEnum ArrheniusEnum]),
     179        error(['model not consistent: model ' md.name ' hydrostatic_adjustment field should be AbsoluteEnum or IncrementalEnum']);
     180end
    178181%}}}
    179182%PARAMETEROUTPUT {{{1
Note: See TracChangeset for help on using the changeset viewer.