Changeset 20990


Ignore:
Timestamp:
07/23/16 14:35:27 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: reverting ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/initialization.py

    r20987 r20990  
    6262
    6363                #Lithostatic pressure by default
    64                 self.pressure=md.constants.g*md.materials.rho_ice*(md.geometry.surface[:,0]-md.mesh.z)
     64                #self.pressure=md.constants.g*md.materials.rho_ice*(md.geometry.surface[:,0]-md.mesh.z)
     65                self.pressure=md.constants.g*md.materials.rho_ice*(md.geometry.surface-md.mesh.z.reshape(-1,1))
    6566                return self
    6667        #}}}
Note: See TracChangeset for help on using the changeset viewer.