Ignore:
Timestamp:
01/31/22 17:18:22 (3 years ago)
Author:
jdquinn
Message:

CHG: Precomputed Gmsh mesh for Python SE tests written out to Pickle file; updated precomputed mesh for MATLAB; updated corresponding archives again from Linux machine

File:
1 edited

Legend:

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

    r26638 r26842  
    11#Test Name: EarthSlc Dakota Sampling glaciers
    22import numpy as np
     3import pickle
    34from socket import gethostname
    45from dmeth_params_set import *
    5 from gmshplanet import *
    66from gmtmask import *
    77from lovenumbers import *
     
    1818md = model()
    1919md.cluster = generic('name', gethostname(), 'np', 5)
    20 md.mesh = gmshplanet('radius', 6.371012 * 1e3, 'resolution', 700.) #700 km resolution mesh
     20
     21# Load precomputed mesh
     22with open('../Data/SlcTestMesh.pkl', 'rb') as slc_test_mesh_file:
     23    md.mesh = pickle.load(slc_test_mesh_file)
    2124
    2225# Geometry for the bed, arbitrary thickness of 100
Note: See TracChangeset for help on using the changeset viewer.