Ignore:
Timestamp:
03/13/19 03:17:46 (6 years ago)
Author:
bdef
Message:

pep8 compliance of NTs

File:
1 edited

Legend:

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

    r23792 r23793  
    33from model import *
    44from socket import gethostname
    5 import numpy as np
    65from triangle import *
    76from setmask import *
     
    1110from generic import generic
    1211
    13 md=triangle(model(),'../Exp/Square.exp',180000)
    14 md=setmask(md,'all','')
    15 md=parameterize(md,'../Par/SquareShelf.py')
    16 md.extrude(3,2.)
    17 md=setflowequation(md,'HO','all')
    18 md.cluster=generic('name',gethostname(),'np',3)
    19 md=solve(md,'Stressbalance')
     12md = triangle(model(), '../Exp/Square.exp', 180000)
     13md = setmask(md, 'all', '')
     14md = parameterize(md, '../Par/SquareShelf.py')
     15md.extrude(3, 2.)
     16md = setflowequation(md, 'HO', 'all')
     17md.cluster = generic('name', gethostname(), 'np', 3)
     18md = solve(md, 'Stressbalance')
    2019
    2120
    2221# Fields and tolerances to track changes
    2322
    24 field_names     =['Vx','Vy','Vz','Vel','Pressure']
    25 field_tolerances=[2e-09,2e-09,1e-09,2e-09,1e-09]
    26 field_values=[\
    27         md.results.StressbalanceSolution.Vx,\
    28         md.results.StressbalanceSolution.Vy,\
    29         md.results.StressbalanceSolution.Vz,\
    30         md.results.StressbalanceSolution.Vel,\
    31         md.results.StressbalanceSolution.Pressure,\
    32         ]
     23field_names = ['Vx', 'Vy', 'Vz', 'Vel', 'Pressure']
     24field_tolerances = [2e-09, 2e-09, 1e-09, 2e-09, 1e-09]
     25field_values = [md.results.StressbalanceSolution.Vx,
     26                md.results.StressbalanceSolution.Vy,
     27                md.results.StressbalanceSolution.Vz,
     28                md.results.StressbalanceSolution.Vel,
     29                md.results.StressbalanceSolution.Pressure]
Note: See TracChangeset for help on using the changeset viewer.