You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
455 B
Plaintext
22 lines
455 B
Plaintext
|
|
def ConConfig(sx,sy,sz,Nz,rundir):
|
|
|
|
params=[]
|
|
if Nz==1:
|
|
params=['1','4','vecconec.txt',str(sx)+' '+str(sy),'1.0 1.0','pardol.CCO']
|
|
execCon='conec2d'
|
|
|
|
else:
|
|
params=['1','6','vecconec.txt',str(sx)+' '+str(sy)+' ' +str(sz),'1.0 1.0 1.0','pardol.CCO']
|
|
execCon='conec3d'
|
|
|
|
|
|
with open(rundir+'coninput.txt', 'w') as f:
|
|
for item in params:
|
|
f.write("%s\n" % item)
|
|
|
|
return params, execCon
|
|
|
|
|
|
Solamente calcula y devuelve el mapa de conectividad!!
|