Ignore:
Timestamp:
09/26/19 18:49:01 (5 years ago)
Author:
dubos
Message:

devel/Python : now only dynamico.dev modules require link to DYNAMICO/XIOS shared objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/dynamico/meshes.py

    r959 r977  
    11from __future__ import absolute_import      
    2  
    3 from dynamico.dev import unstructured as unst 
    42 
    53import time 
     
    1513from dynamico.util import list_stencil, BaseClass, inverse_list 
    1614from dynamico import getargs 
    17 # TODO from dynamico.parmetis import partition_mesh 
    18 from dynamico.dev.unstructured import partition_mesh 
     15from dynamico.partition import partition_mesh 
    1916 
    2017log_master, log_world = getargs.getLogger(__name__) 
     
    419416                    vertex_lat[cell, ivertex] = vlat 
    420417            return vertex_lon, vertex_lat 
    421         mesh.primal_bounds_lon, mesh.primal_bounds_lat = bounds(mesh.primal_deg, mesh.primal_vertex, mesh.lon_v, mesh.lat_v) 
     418        mesh.primal_bounds_lon, mesh.primal_bounds_lat = bounds(mesh.primal_own_deg, mesh.primal_vertex, mesh.lon_v, mesh.lat_v) 
    422419        mesh.dual_bounds_lon, mesh.dual_bounds_lat = bounds(mesh.dual_deg, mesh.dual_vertex, mesh.lon_i, mesh.lat_i) 
    423420 
     
    766763    nn, xx, yy, zz = x.size, toint(x), toint(y), toint(z) 
    767764    idx=np.zeros(nn, dtype=np.int64) 
    768     unst.ker.dynamico_morton_encode(nn, xx,yy,zz, idx) 
     765    partition.dynamico_morton_encode(nn, xx,yy,zz, idx) 
    769766    return idx 
    770767 
Note: See TracChangeset for help on using the changeset viewer.