Skip to content

Commit b562ae0

Browse files
author
Nicola-Fonzi
committed
Merge remote-tracking branch 'upstream/fix_legacy_deformation' into cleanup_python_wrapper
2 parents 72dc280 + 3e75f50 commit b562ae0

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

SU2_CFD/include/iteration/CFluidIteration.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ class CFluidIteration : public CIteration {
152152
/*!
153153
* \brief Store old aeroelastic solutions
154154
* \param[in,out] config - Definition of the particular problem.
155-
* \param[in] iMesh - Grid level
156155
*/
157-
void SetDualTime_Aeroelastic(CConfig* config, unsigned short iMesh) const;
156+
void SetDualTime_Aeroelastic(CConfig* config) const;
158157

159158
};

SU2_CFD/src/integration/CIntegration.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ void CIntegration::SetDualTime_Solver(const CGeometry *geometry, CSolver *solver
230230

231231
SU2_OMP_PARALLEL
232232
{
233-
/*--- Store old solution, volumes and coordinates (in case there is grid movement). ---*/
234-
233+
/*--- Store old solution ---*/
235234
solver->GetNodes()->Set_Solution_time_n1();
236235
solver->GetNodes()->Set_Solution_time_n();
237236

SU2_CFD/src/iteration/CFluidIteration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,11 +569,11 @@ bool CFluidIteration::MonitorFixed_CL(COutput *output, CGeometry *geometry, CSol
569569
return fixed_cl_convergence;
570570
}
571571

572-
void CFluidIteration::SetDualTime_Aeroelastic(CConfig* config, unsigned short iMesh) const {
572+
void CFluidIteration::SetDualTime_Aeroelastic(CConfig* config) const {
573573

574574
/*--- Store old aeroelastic solutions ---*/
575575

576-
if (config->GetGrid_Movement() && config->GetAeroelastic_Simulation() && (iMesh == MESH_0)) {
576+
if (config->GetGrid_Movement() && config->GetAeroelastic_Simulation()) {
577577

578578
config->SetAeroelastic_n1();
579579
config->SetAeroelastic_n();

0 commit comments

Comments
 (0)