Skip to content

Commit ed0df2f

Browse files
committed
remove unused variables
1 parent a84e5ea commit ed0df2f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

SU2_CFD/src/iteration/CDiscAdjFluidIteration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void CDiscAdjFluidIteration::Preprocess(COutput* output, CIntegration**** integr
5858
if (config[iZone]->GetTime_Marching() != TIME_MARCHING::STEADY) {
5959
const int Direct_Iter = static_cast<int>(config[iZone]->GetUnst_AdjointIter()) -
6060
static_cast<int>(TimeIter) - 2 + dual_time;
61-
61+
cout << "direct iter = " << Direct_Iter << endl;
6262
/*--- For dual-time stepping we want to load the already converged solution at previous timesteps.
6363
* In general we only load one file and shift the previously loaded solutions, on the first we
6464
* load one or two more (depending on dual time order). ---*/

SU2_CFD/src/solvers/CFEASolver.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,6 @@ void CFEASolver::HybridParallelInitialization(CGeometry* geometry) {
284284

285285
void CFEASolver::Set_ElementProperties(CGeometry *geometry, CConfig *config) {
286286

287-
const auto iZone = config->GetiZone();
288-
const auto nZone = geometry->GetnZone();
289-
290287
const bool topology_mode = config->GetTopology_Optimization();
291288

292289
element_properties = new CProperty*[nElement];

0 commit comments

Comments
 (0)