Changeset 959 for codes


Ignore:
Timestamp:
07/16/19 03:14:00 (5 years ago)
Author:
dubos
Message:

devel/Python : fix reading local mesh => generation of local mesh information

Location:
codes/icosagcm/devel/Python
Files:
1 added
2 edited

Legend:

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

    r870 r959  
    665665         
    666666        # compute_ne(...) and normalize(...) expect indices starting at 1 
    667         trisk, dual_vertex, primal_edge, dual_edge =  trisk+1, dual_vertex+1, primal_edge+1, dual_edge+1 
    668         left, right, down, up = left+1, right+1, down+1, up+1 
     667        for ind in (trisk, primal_vertex, dual_vertex, primal_edge, dual_edge, left, right, down, up) : ind+=1 
    669668 
    670669        # read from mesh file : coordinates, lengths and areas in reference domain 
  • codes/icosagcm/devel/Python/test/python.sh

    r942 r959  
    99function cmd_serial() 
    1010{ 
    11     LD_PRELOAD=$PYTHON_PRELOAD python -u $* 
     11    python -u $* 
    1212} 
    1313 
Note: See TracChangeset for help on using the changeset viewer.