Changeset 19121


Ignore:
Timestamp:
02/19/15 08:38:57 (10 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed SIA module with new md structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/contrib/hack/sia.m

    r15564 r19121  
    11function [velx,vely,vel]=sia(md)
    2 %BALVEL - computation of Shallow Ice velocities
     2%SIA - computation of Shallow Ice velocities
    33%
    44%   This routine uses the model of SIA to compute the velocities
     
    1818summer=[1;1;1];
    1919hel=md.geometry.thickness(md.mesh.elements)*summer/3;
    20 Bel=md.B(md.mesh.elements)*summer/3;
     20Bel=md.materials.rheology_B(md.mesh.elements)*summer/3;
    2121
    2222Ael=Bel.^(-3);
Note: See TracChangeset for help on using the changeset viewer.