Changeset 25047


Ignore:
Timestamp:
06/17/20 14:38:15 (5 years ago)
Author:
jdquinn
Message:

CHG: Saving changes for later (test runs under Python, but not under MATLAB; will revisit refactoring of partitioner class)

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/partition/AreaAverageOntoPartition.py

    r25022 r25047  
    2222            raise RuntimeError('AreaAverageOntoPartition: layer should be provided onto which Area Averaging occurs')
    2323
    24     #save 3D model
     24        #save 3D model
    2525        md3d = copy.deepcopy(md)
    2626
     
    3333        md.mesh.vertexconnectivity = []
    3434
    35     #run connectivity routine
     35        #run connectivity routine
    3636        md = adjacency(md)
    3737
  • issm/trunk-jpl/test/NightlyRun/test418.py

    r25010 r25047  
    3939
    4040vector = np.arange(1, 1 + md.mesh.numberofvertices, 1).reshape(-1, 1)
    41 # double check this before committing:
    4241vector_on_partition = AreaAverageOntoPartition(md, vector, partition)
    43 vector_on_nodes = vector_on_partition[partition + 1]
     42vector_on_nodes = vector_on_partition[partition]
    4443
    4544field_names = ['vector_on_nodes']
Note: See TracChangeset for help on using the changeset viewer.