Fix multiprocessing example to actually get the indicated property
This commit is contained in:
parent
7d2e3813eb
commit
a79ee8e07a
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