From e0e9f0f8a5f0fcc771bcc8b4bfe7e46125f3e64e Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Fri, 6 Dec 2024 12:13:05 -0700 Subject: [PATCH] Fix some warnings. (#1331) --- include/overset/TiogaOptions.h | 2 +- reg_tests/CTestCustom.cmake | 6 ++++-- src/aero/fsi/CalcLoads.C | 4 ++-- src/aero/fsi/FSIturbine.C | 4 ---- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/include/overset/TiogaOptions.h b/include/overset/TiogaOptions.h index 11579b393..bba02c736 100644 --- a/include/overset/TiogaOptions.h +++ b/include/overset/TiogaOptions.h @@ -72,7 +72,7 @@ class TiogaOptions //! Set the node and cell resolutions from Nalu-Wind instead of letting TIOGA //! compute it for P=1 cells. Default is true - bool setResolutions_{true}; + // bool setResolutions_{true}; //! Option to let TIOGA attempt to reduce fringes. bool reduceFringes_{false}; diff --git a/reg_tests/CTestCustom.cmake b/reg_tests/CTestCustom.cmake index d5aa9cc87..e869c517a 100644 --- a/reg_tests/CTestCustom.cmake +++ b/reg_tests/CTestCustom.cmake @@ -1,4 +1,6 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION ".*could not create compact unwind.*" - ".*may conflict with libgfortran.*") + ".*may conflict with libgfortran.*" + ".*has no symbols*" + ".*submake: resetting jobserver mode*") set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "262144") -set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE "51200") +set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE "262144") diff --git a/src/aero/fsi/CalcLoads.C b/src/aero/fsi/CalcLoads.C index 80522c08a..012140972 100644 --- a/src/aero/fsi/CalcLoads.C +++ b/src/aero/fsi/CalcLoads.C @@ -189,12 +189,12 @@ CalcLoads::execute() // interpolate to bip double pBip = 0.0; - double rhoBip = 0.0; + // double rhoBip = 0.0; double muBip = 0.0; for (int ic = 0; ic < nodesPerFace; ++ic) { const double r = p_face_shape_function(ip, ic); pBip += r * p_pressure[ic]; - rhoBip += r * p_density[ic]; + // rhoBip += r * p_density[ic]; muBip += r * p_viscosity[ic]; } diff --git a/src/aero/fsi/FSIturbine.C b/src/aero/fsi/FSIturbine.C index f5a778170..7b13d38db 100644 --- a/src/aero/fsi/FSIturbine.C +++ b/src/aero/fsi/FSIturbine.C @@ -1066,10 +1066,6 @@ fsiTurbine::setSampleDisplacement(double curTime) << "Setting Sample displacements " << std::endl; int nBlades = params_.numBlades; - ; - size_t nTotBldPts = 0; - for (int i = 0; i < nBlades; i++) - nTotBldPts += params_.nBRfsiPtsBlade[i]; std::vector x_axis = {1.0, 0.0, 0.0}; std::vector y_axis = {0.0, 1.0, 0.0};