Changeset 17870


Ignore:
Timestamp:
04/29/14 07:53:30 (11 years ago)
Author:
cborstad
Message:

CHG: starting to work on the rank-1 versus rank-2 issue in python

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py

    r17766 r17870  
    4242                print "SetMarineIceSheetBC warning: ice front all around the glacier, no dirichlet found. Dirichlet must be added manually."
    4343
    44         md.stressbalance.spcvx=float('nan')*numpy.ones((md.mesh.numberofvertices,1))
    45         md.stressbalance.spcvy=float('nan')*numpy.ones((md.mesh.numberofvertices,1))
    46         md.stressbalance.spcvz=float('nan')*numpy.ones((md.mesh.numberofvertices,1))
     44        md.stressbalance.spcvx=float('nan')*numpy.ones((md.mesh.numberofvertices,))
     45        md.stressbalance.spcvy=float('nan')*numpy.ones((md.mesh.numberofvertices,))
     46        md.stressbalance.spcvz=float('nan')*numpy.ones((md.mesh.numberofvertices,))
    4747        md.stressbalance.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6))
    4848        md.stressbalance.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3))
Note: See TracChangeset for help on using the changeset viewer.