Skip to content

Commit

Permalink
Added the missing print for regModelInput. (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
friedenhe authored Jan 21, 2024
1 parent ee5de3d commit 8d0c663
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adjoint/DASolver/DAPimpleFoam/DAPimpleFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ label DAPimpleFoam::solvePrimal(
this->calcPrimalResidualStatistics("print");
}

daRegressionPtr_->printInputInfo();

Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
Expand Down
2 changes: 2 additions & 0 deletions src/adjoint/DASolver/DARhoSimpleCFoam/DARhoSimpleCFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ label DARhoSimpleCFoam::solvePrimal(

this->printAllObjFuncs();

daRegressionPtr_->printInputInfo();

Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
Expand Down
2 changes: 2 additions & 0 deletions src/adjoint/DASolver/DARhoSimpleFoam/DARhoSimpleFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ label DARhoSimpleFoam::solvePrimal(

this->printAllObjFuncs();

daRegressionPtr_->printInputInfo();

Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
Expand Down
2 changes: 2 additions & 0 deletions src/adjoint/DASolver/DASimpleFoam/DASimpleFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ label DASimpleFoam::solvePrimal(

this->printAllObjFuncs();

daRegressionPtr_->printInputInfo();

Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
Expand Down
2 changes: 2 additions & 0 deletions src/adjoint/DASolver/DASimpleTFoam/DASimpleTFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ label DASimpleTFoam::solvePrimal(

this->printAllObjFuncs();

daRegressionPtr_->printInputInfo();

Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
Expand Down
2 changes: 2 additions & 0 deletions src/adjoint/DASolver/DATurboFoam/DATurboFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ label DATurboFoam::solvePrimal(

this->printAllObjFuncs();

daRegressionPtr_->printInputInfo();

Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
Expand Down

0 comments on commit 8d0c663

Please sign in to comment.