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/test411.py

    r22578 r23793  
    11#Test Name: SquareSheetShelfSteaHO
    2 import numpy as np
    32from model import *
    43from socket import gethostname
     
    109from solve import *
    1110
    12 md=triangle(model(),'../Exp/Square.exp',150000.)
    13 md=setmask(md,'../Exp/SquareShelf.exp','')
    14 md=parameterize(md,'../Par/SquareSheetShelf.py')
    15 md.extrude(3,2.)
    16 md=setflowequation(md,'HO','all')
    17 md.cluster=generic('name',gethostname(),'np',3)
    18 md.timestepping.time_step=0.
    19 md=solve(md,'Steadystate')
     11md = triangle(model(), '../Exp/Square.exp', 150000.)
     12md = setmask(md, '../Exp/SquareShelf.exp', '')
     13md = parameterize(md, '../Par/SquareSheetShelf.py')
     14md.extrude(3, 2.)
     15md = setflowequation(md, 'HO', 'all')
     16md.cluster = generic('name', gethostname(), 'np', 3)
     17md.timestepping.time_step = 0.
     18md = solve(md, 'Steadystate')
    2019
    2120#Fields and tolerances to track changes
    22 field_names     =['Vx','Vy','Vz','Vel','Pressure','Temperature','BasalforcingsGroundediceMeltingRate']
    23 field_tolerances=[2e-09,1e-09,1e-08,1e-09,1e-09,1e-08,1e-05
    24 ]
    25 field_values=[\
    26         md.results.SteadystateSolution.Vx,\
    27         md.results.SteadystateSolution.Vy,\
    28         md.results.SteadystateSolution.Vz,\
    29         md.results.SteadystateSolution.Vel,\
    30         md.results.SteadystateSolution.Pressure,\
    31         md.results.SteadystateSolution.Temperature,\
    32         md.results.SteadystateSolution.BasalforcingsGroundediceMeltingRate,\
    33         ]
     21field_names = ['Vx', 'Vy', 'Vz', 'Vel', 'Pressure', 'Temperature', 'BasalforcingsGroundediceMeltingRate']
     22field_tolerances = [2e-09, 1e-09, 1e-08, 1e-09, 1e-09, 1e-08, 1e-05]
     23field_values = [md.results.SteadystateSolution.Vx,
     24                md.results.SteadystateSolution.Vy,
     25                md.results.SteadystateSolution.Vz,
     26                md.results.SteadystateSolution.Vel,
     27                md.results.SteadystateSolution.Pressure,
     28                md.results.SteadystateSolution.Temperature,
     29                md.results.SteadystateSolution.BasalforcingsGroundediceMeltingRate]
Note: See TracChangeset for help on using the changeset viewer.