Ignore:
Timestamp:
09/06/11 16:53:02 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added material class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Miscellaneous/connectivity/Square.par

    r9632 r9636  
    1212ymax=max(md.y);
    1313md.thickness=hmax+(hmin-hmax)*(md.y-ymin)/(ymax-ymin);
    14 md.bed=-md.rho_ice/md.rho_water*md.thickness;
     14md.bed=-md.materials.rho_ice/md.materials.rho_water*md.thickness;
    1515md.surface=md.bed+md.thickness;
    1616
     
    2626md.observed_temperature=(273-20)*ones(md.numberofnodes,1);
    2727
    28 md.rheology_B=paterson(md.observed_temperature);
    29 md.rheology_n=3*ones(md.numberofelements,1);
     28md.materials.rheology_B=paterson(md.observed_temperature);
     29md.materials.rheology_n=3*ones(md.numberofelements,1);
    3030
    3131%Deal with boundary conditions:
Note: See TracChangeset for help on using the changeset viewer.