Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfooted committed Jan 20, 2025
1 parent 2b6d97a commit feb044b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
7 changes: 0 additions & 7 deletions Common/include/CConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class CConfig {
su2double Opt_RelaxFactor; /*!< \brief Scale factor for the line search. */
su2double Opt_LineSearch_Bound; /*!< \brief Bounds for the line search. */
su2double StartTime;
unsigned short SmoothNumGrid; /*!< \brief Smooth the numerical grid. */
bool ContinuousAdjoint, /*!< \brief Flag to know if the code is solving an adjoint problem. */
Viscous, /*!< \brief Flag to know if the code is solving a viscous problem. */
EquivArea, /*!< \brief Flag to know if the code is going to compute and plot the equivalent area. */
Expand Down Expand Up @@ -6338,12 +6337,6 @@ class CConfig {
*/
bool GetAxisymmetric(void) const { return Axisymmetric; }

/*!
* \brief Get information about there is a smoothing of the grid coordinates.
* \return <code>TRUE</code> if there is smoothing of the grid coordinates; otherwise <code>FALSE</code>.
*/
unsigned short GetSmoothNumGrid(void) const { return SmoothNumGrid; }

/*!
* \brief Subtract one to the index of the finest grid (full multigrid strategy).
* \return Change the index of the finest grid.
Expand Down
5 changes: 0 additions & 5 deletions Common/src/CConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2264,9 +2264,6 @@ void CConfig::SetConfig_Options() {
/* DESCRIPTION: Value to move motion origins (1 or 0) */
addUShortListOption("MOVE_MOTION_ORIGIN", nMoveMotion_Origin, MoveMotion_Origin);

/* DESCRIPTION: Before each computation, implicitly smooth the nodal coordinates */
addUnsignedShortOption("SMOOTH_GEOMETRY", SmoothNumGrid, 0);

/*!\par CONFIG_CATEGORY: Aeroelastic Simulation (Typical Section Model) \ingroup Config*/
/*--- Options related to aeroelastic simulations using the Typical Section Model) ---*/
/* DESCRIPTION: The flutter speed index (modifies the freestream condition) */
Expand Down Expand Up @@ -6877,8 +6874,6 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {

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

if (SmoothNumGrid) cout << "There are some smoothing iterations on the grid coordinates." << endl;

if ((Kind_Solver == MAIN_SOLVER::EULER) || (Kind_Solver == MAIN_SOLVER::NAVIER_STOKES) || (Kind_Solver == MAIN_SOLVER::RANS) ||
(Kind_Solver == MAIN_SOLVER::INC_EULER) || (Kind_Solver == MAIN_SOLVER::INC_NAVIER_STOKES) || (Kind_Solver == MAIN_SOLVER::INC_RANS) ||
(Kind_Solver == MAIN_SOLVER::NEMO_EULER) || (Kind_Solver == MAIN_SOLVER::NEMO_NAVIER_STOKES) ||
Expand Down
6 changes: 0 additions & 6 deletions Common/src/geometry/dual_grid/CPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ void CPoint::FullAllocation(unsigned short imesh, const CConfig* config) {

Vertex.resize(npoint);

/*--- For smoothing the numerical grid coordinates ---*/
if (config->GetSmoothNumGrid()) {
Coord_Old.resize(npoint, nDim) = su2double(0.0);
Coord_Sum.resize(npoint, nDim) = su2double(0.0);
}

/*--- Storage of grid velocities for dynamic meshes. ---*/

if (config->GetDynamic_Grid()) {
Expand Down

0 comments on commit feb044b

Please sign in to comment.