source: issm/oecreview/Archive/14312-15392/ISSM-14541-14542.diff@ 15393

Last change on this file since 15393 was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

File size: 1.8 KB
  • TabularUnified ../trunk-jpl/test/NightlyRun/test331.py

     
     1import numpy
     2import copy
     3from model import *
     4from triangle import *
     5from setmask import *
     6from parameterize import *
     7from setflowequation import *
     8from EnumDefinitions import *
     9from solve import *
     10from MatlabFuncs import *
     11
     12md=triangle(model(),'../Exp/Square.exp',150000.)
     13md=setmask(md,'','')
     14md=parameterize(md,'../Par/SquareSheetConstrained.py')
     15md=setflowequation(md,'macayeal','all')
     16md.surfaceforcings.issmbgradients=1
     17md.initialization.watercolumn=10^-3*numpy.ones((md.mesh.numberofvertices,1))
     18md.hydrology.spcwatercolumn=float('nan')*numpy.ones(md.mesh.numberofvertices,1)
     19md.nodeonicefront[pos]=1
     20md.hydrology.spcwatercolumn[pos]=2e-0-3
     21md.cluster=generic('name',oshostname(),'np',3)
     22md=solve(md,HydrologySolutionEnum())
     23
     24#Fields and tolerances to track changes
     25field_names     =['HydrologyWaterVx1','HydrologyWaterVy','WaterColumn']
     26field_tolerances=[1e-09,1e-09,1e-09]
     27field_values=[\
     28        md.results.HydrologySolution.HydrologyWaterVx,\
     29        md.results.HydrologySolution.HydrologyWaterVy,\
     30        md.results.HydrologySolution.Watercolumn,\
     31        ]
  • TabularUnified ../trunk-jpl/test/NightlyRun/IdToName.py

     
    9797                327 : 'SquareSheetConstrainedTransP3dEnth',
    9898                328 : 'SquareSheetConstrainedSmbGradients2d',
    9999                329 : 'SquareSheetConstrainedSmbGradients3d',
     100                331 : 'SquareSheetConstrainedHydrology';
    100101                401 : 'SquareSheetShelfDiagM2d',
    101102                402 : 'SquareSheetShelfDiagM3d',
    102103                403 : 'SquareSheetShelfDiagP3d',
Note: See TracBrowser for help on using the repository browser.