correct scalar col names: start counting from 1
This commit is contained in:
parent
33cc40a095
commit
2465e10b70
6
ucf.py
6
ucf.py
|
|
@ -864,9 +864,9 @@ def colmap_from_flags(irank,ihybrid,idem,iscal):
|
||||||
col['tyc'] = ioffset; ioffset+=1
|
col['tyc'] = ioffset; ioffset+=1
|
||||||
col['tzc'] = ioffset; ioffset+=1
|
col['tzc'] = ioffset; ioffset+=1
|
||||||
if iscal>0:
|
if iscal>0:
|
||||||
for ii in range(0,iscal):
|
for ii in range(iscal):
|
||||||
col['s'+str(ii)] = ioffset; ioffset+=1
|
col['s'+str(ii+1)] = ioffset; ioffset+=1
|
||||||
col['q'+str(ii)] = ioffset; ioffset+=1
|
col['q'+str(ii+1)] = ioffset; ioffset+=1
|
||||||
return col
|
return col
|
||||||
|
|
||||||
def grid_chunk(chunk,gridg):
|
def grid_chunk(chunk,gridg):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue