Skip to content

Commit

Permalink
Fixed more test.
Browse files Browse the repository at this point in the history
  • Loading branch information
friedenhe committed Dec 8, 2023
1 parent 12d5cba commit 11076a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions tests/refs/DAFoam_Test_DATurboFoamSubsonicRef.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ Dictionary Key: shapez
@value -0.2092364378494078 1e-04 1e-06
Dictionary Key: TPR
Dictionary Key: shapey
@value 0.08984178060879607 1e-04 1e-06
@value -0.1026040687812797 1e-04 1e-06
@value 0.07889426252189255 1e-04 1e-06
@value -0.08460343368551185 1e-04 1e-06
@value 0.08984549038801276 0.0001 1e-06
@value -0.1026120377600116 0.0001 1e-06
@value 0.07889370056517067 0.0001 1e-06
@value -0.0846173656569997 0.0001 1e-06
Dictionary Key: shapez
@value -0.03253669585379524 1e-04 1e-06
@value 0.09552686633819965 1e-04 1e-06
@value -0.04523225304246882 1e-04 1e-06
@value 0.1038329607242777 1e-04 1e-06
@value -0.03253030126355309 0.0001 1e-06
@value 0.09548883025920442 0.0001 1e-06
@value -0.0452150125277994 0.0001 1e-06
@value 0.1037784570108749 0.0001 1e-06
Dictionary Key: fail
@value 0 1e-04 1e-06
2 changes: 1 addition & 1 deletion tests/runTests_DAPimpleFoamTurbModels.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def alpha(val, geo):
xDV = DVGeo.getValues()
optFuncs.calcObjFuncValues(xDV)

# DASolver.runColoring()
DASolver.runColoring()

dRdWTPC = PETSc.Mat().create(PETSc.COMM_WORLD)
DASolver.solver.calcdRdWT(DASolver.xvVec, DASolver.wVec, 1, dRdWTPC)
Expand Down

0 comments on commit 11076a8

Please sign in to comment.