Skip to content

Commit

Permalink
Fix some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel committed Dec 6, 2024
1 parent 819868b commit 8d59ef3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion include/overset/TiogaOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
6 changes: 4 additions & 2 deletions reg_tests/CTestCustom.cmake
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions src/aero/fsi/CalcLoads.C
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down
4 changes: 0 additions & 4 deletions src/aero/fsi/FSIturbine.C
Original file line number Diff line number Diff line change
Expand Up @@ -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<double> x_axis = {1.0, 0.0, 0.0};
std::vector<double> y_axis = {0.0, 1.0, 0.0};
Expand Down

0 comments on commit 8d59ef3

Please sign in to comment.