Skip to content

Commit c2a856a

Browse files
committed
Merge branch 'feature_custom_source' of https://github.com/su2code/su2 into feature_custom_source
2 parents 3ca4f27 + 6a5f28b commit c2a856a

File tree

2 files changed

+1
-3
lines changed
  • TestCases/py_wrapper

2 files changed

+1
-3
lines changed

TestCases/py_wrapper/custom_source_buoyancy/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main():
5959
# all the indices and the map to the names of the primitives
6060
primindex = driver.GetPrimitiveIndices()
6161

62-
nVars = driver.GetNumberSolverVars(iSOLVER)
62+
6363
varindex = primindex.copy()
6464
#for prim in varindex.copy():
6565
# if varindex[prim] >=nVars:

TestCases/py_wrapper/turbulent_premixed_psi/run.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ def zimont(SU2Driver, iPoint):
111111

112112
iSPECIESSOLVER = SU2Driver.GetSolverIndices()['SPECIES']
113113
gradc = SU2Driver.GetGradient(iSPECIESSOLVER,iPoint,0)
114-
115-
iFLOWSOLVER = SU2Driver.GetSolverIndices()['INC.FLOW']
116114
primindex = SU2Driver.GetPrimitiveIndices()
117115
iDENSITY = primindex.get("DENSITY")
118116
iMU = primindex.get("LAMINAR_VISCOSITY")

0 commit comments

Comments
 (0)