Skip to content

Commit feb044b

Browse files
committed
remove unused variables
1 parent 2b6d97a commit feb044b

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

Common/include/CConfig.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ class CConfig {
108108
su2double Opt_RelaxFactor; /*!< \brief Scale factor for the line search. */
109109
su2double Opt_LineSearch_Bound; /*!< \brief Bounds for the line search. */
110110
su2double StartTime;
111-
unsigned short SmoothNumGrid; /*!< \brief Smooth the numerical grid. */
112111
bool ContinuousAdjoint, /*!< \brief Flag to know if the code is solving an adjoint problem. */
113112
Viscous, /*!< \brief Flag to know if the code is solving a viscous problem. */
114113
EquivArea, /*!< \brief Flag to know if the code is going to compute and plot the equivalent area. */
@@ -6338,12 +6337,6 @@ class CConfig {
63386337
*/
63396338
bool GetAxisymmetric(void) const { return Axisymmetric; }
63406339

6341-
/*!
6342-
* \brief Get information about there is a smoothing of the grid coordinates.
6343-
* \return <code>TRUE</code> if there is smoothing of the grid coordinates; otherwise <code>FALSE</code>.
6344-
*/
6345-
unsigned short GetSmoothNumGrid(void) const { return SmoothNumGrid; }
6346-
63476340
/*!
63486341
* \brief Subtract one to the index of the finest grid (full multigrid strategy).
63496342
* \return Change the index of the finest grid.

Common/src/CConfig.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2264,9 +2264,6 @@ void CConfig::SetConfig_Options() {
22642264
/* DESCRIPTION: Value to move motion origins (1 or 0) */
22652265
addUShortListOption("MOVE_MOTION_ORIGIN", nMoveMotion_Origin, MoveMotion_Origin);
22662266

2267-
/* DESCRIPTION: Before each computation, implicitly smooth the nodal coordinates */
2268-
addUnsignedShortOption("SMOOTH_GEOMETRY", SmoothNumGrid, 0);
2269-
22702267
/*!\par CONFIG_CATEGORY: Aeroelastic Simulation (Typical Section Model) \ingroup Config*/
22712268
/*--- Options related to aeroelastic simulations using the Typical Section Model) ---*/
22722269
/* DESCRIPTION: The flutter speed index (modifies the freestream condition) */
@@ -6877,8 +6874,6 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
68776874

68786875
cout << endl <<"--------------- Space Numerical Integration ( Zone " << iZone << " ) ------------------" << endl;
68796876

6880-
if (SmoothNumGrid) cout << "There are some smoothing iterations on the grid coordinates." << endl;
6881-
68826877
if ((Kind_Solver == MAIN_SOLVER::EULER) || (Kind_Solver == MAIN_SOLVER::NAVIER_STOKES) || (Kind_Solver == MAIN_SOLVER::RANS) ||
68836878
(Kind_Solver == MAIN_SOLVER::INC_EULER) || (Kind_Solver == MAIN_SOLVER::INC_NAVIER_STOKES) || (Kind_Solver == MAIN_SOLVER::INC_RANS) ||
68846879
(Kind_Solver == MAIN_SOLVER::NEMO_EULER) || (Kind_Solver == MAIN_SOLVER::NEMO_NAVIER_STOKES) ||

Common/src/geometry/dual_grid/CPoint.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ void CPoint::FullAllocation(unsigned short imesh, const CConfig* config) {
9494

9595
Vertex.resize(npoint);
9696

97-
/*--- For smoothing the numerical grid coordinates ---*/
98-
if (config->GetSmoothNumGrid()) {
99-
Coord_Old.resize(npoint, nDim) = su2double(0.0);
100-
Coord_Sum.resize(npoint, nDim) = su2double(0.0);
101-
}
102-
10397
/*--- Storage of grid velocities for dynamic meshes. ---*/
10498

10599
if (config->GetDynamic_Grid()) {

0 commit comments

Comments
 (0)