Skip to content

Commit

Permalink
OpenFAST.cpp: remove leftover debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-platt committed Oct 24, 2024
1 parent 9e570ab commit cd08c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glue-codes/openfast-cpp/src/OpenFAST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2367,8 +2367,8 @@ void fast::OpenFAST::get_data_from_openfast(timeStep t) {
if (turbineData[iTurb].inflowType == 2) {
int nvelpts = get_numVelPtsLoc(iTurb);
int nfpts = get_numForcePtsLoc(iTurb);
std::cerr << "nvelpts = " << nvelpts << std::endl;
std::cerr << "nfpts = " << nfpts << " " << get_numForcePtsBladeLoc(iTurb) << " " << get_numForcePtsTwrLoc(iTurb) << std::endl;
// std::cerr << "nvelpts = " << nvelpts << std::endl;
// std::cerr << "nfpts = " << nfpts << " " << get_numForcePtsBladeLoc(iTurb) << " " << get_numForcePtsTwrLoc(iTurb) << std::endl;
for (int i=0; i<nvelpts; i++) {
velForceNodeData[iTurb][t].x_vel_resid += (velForceNodeData[iTurb][t].x_vel[i*3+0] - extinfw_i_f_FAST[iTurb].pxVel[i])*(velForceNodeData[iTurb][t].x_vel[i*3+0] - extinfw_i_f_FAST[iTurb].pxVel[i]);
velForceNodeData[iTurb][t].x_vel[i*3+0] = extinfw_i_f_FAST[iTurb].pxVel[i];
Expand Down

0 comments on commit cd08c9a

Please sign in to comment.