Ignore:
Timestamp:
11/22/16 02:31:19 (8 years ago)
Author:
bdef
Message:

CHG: uniformization fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test116.py

    r21060 r21408  
    11#Test Name: SquareShelfConstrainedBalThic2d
    2 import numpy
     2import numpy as np
    33from model import *
     4from socket import gethostname
    45from triangle import *
    56from setmask import *
     
    78from setflowequation import *
    89from solve import *
    9 from MatlabFuncs import *
     10
    1011
    1112md=triangle(model(),'../Exp/Square.exp',150000)
     
    1314md=parameterize(md,'../Par/SquareShelfConstrained.py')
    1415#Add boundary conditions on thickness on the border
    15 pos=numpy.nonzero(md.mesh.vertexonboundary)
     16pos=np.nonzero(md.mesh.vertexonboundary)
    1617md.balancethickness.spcthickness[pos]=md.geometry.thickness[pos]
    1718md=setflowequation(md,'SSA','all')
    18 md.cluster=generic('name',oshostname(),'np',3)
     19md.cluster=generic('name',gethostname(),'np',3)
    1920md=solve(md,'Balancethickness')
    2021
Note: See TracChangeset for help on using the changeset viewer.