Fix multiprocessing example to actually get the indicated property
This commit is contained in:
parent
ea1f7c015b
commit
7ca9327f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ def get_viscosity(args):
|
|||
mech, T, P, X = args
|
||||
gas = gases[mech]
|
||||
gas.TPX = T, P, X
|
||||
return gas.enthalpy_mass
|
||||
return gas.viscosity
|
||||
|
||||
def parallel(mech, predicate, nProcs, nTemps):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue