Skip to content

Commit 76c6d6a

Browse files
committed
cleanup
1 parent 4f87859 commit 76c6d6a

File tree

5 files changed

+2
-12
lines changed

5 files changed

+2
-12
lines changed

Common/include/CConfig.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,8 @@ class CConfig {
195195
nMarker_CHTInterface, /*!< \brief Number of conjugate heat transfer interface markers. */
196196
nMarker_ContactResistance, /*!< \brief Number of CHT interfaces with contact resistance. */
197197
nMarker_Inlet, /*!< \brief Number of inlet flow markers. */
198-
nMarker_Wall_Species, /*!< \brief Number of inlet flow markers. */
199198
nMarker_Inlet_Species, /*!< \brief Number of inlet species markers. */
200199
nSpecies_per_Inlet, /*!< \brief Number of species defined per inlet markers. */
201-
nSpecies_per_Wall, /*!< \brief Number of species defined per inlet markers. */
202200
nMarker_Inlet_Turb, /*!< \brief Number of inlet turbulent markers. */
203201
nTurb_Properties, /*!< \brief Number of turbulent properties per inlet markers. */
204202
nMarker_Riemann, /*!< \brief Number of Riemann flow markers. */
@@ -253,7 +251,6 @@ class CConfig {
253251
*Marker_ActDiskBemInlet_Axis, /*!< \brief Actuator disk BEM inlet markers passed to MARKER_ACTDISK_BEM_AXIS. */
254252
*Marker_ActDiskBemOutlet_Axis, /*!< \brief Actuator disk BEM outlet markers passed to MARKER_ACTDISK_BEM_AXIS. */
255253
*Marker_Inlet, /*!< \brief Inlet flow markers. */
256-
*Marker_Wall_Species, /*!< \brief Inlet flow markers. */
257254
*Marker_Inlet_Species, /*!< \brief Inlet species markers. */
258255
*Marker_Inlet_Turb, /*!< \brief Inlet turbulent markers. */
259256
*Marker_Riemann, /*!< \brief Riemann markers. */
@@ -622,11 +619,9 @@ class CConfig {
622619
*Kind_Data_Giles; /*!< \brief Kind of inlet boundary treatment. */
623620
INLET_TYPE Kind_Inlet;
624621
INLET_TYPE *Kind_Inc_Inlet;
625-
626622
INC_OUTLET_TYPE *Kind_Inc_Outlet;
627623
unsigned short nWall_Types; /*!< \brief Number of wall treatment types listed. */
628624
unsigned short nInc_Inlet; /*!< \brief Number of inlet boundary treatment types listed. */
629-
unsigned short nSpecies_Wall; /*!< \brief Number of inlet boundary treatment types listed. */
630625
unsigned short nInc_Outlet; /*!< \brief Number of inlet boundary treatment types listed. */
631626
su2double Inc_Inlet_Damping; /*!< \brief Damping factor applied to the iterative updates to the velocity at a pressure inlet in incompressible flow. */
632627
su2double Inc_Outlet_Damping; /*!< \brief Damping factor applied to the iterative updates to the pressure at a mass flow outlet in incompressible flow. */

Common/include/geometry/dual_grid/CPoint.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ class CPoint {
8282
su2activematrix Coord; /*!< \brief vector with the coordinates of the node. */
8383
su2activematrix
8484
Coord_Old; /*!< \brief Old coordinates vector for primal solution reloading for Disc.Adj. with dynamic grid. */
85-
su2activematrix Coord_Sum; /*!< \brief Sum of coordinates vector for geometry smoothing. */
8685
su2activematrix Coord_n; /*!< \brief Coordinates at time n for use with dynamic meshes. */
8786
su2activematrix Coord_n1; /*!< \brief Coordinates at time n-1 for use with dynamic meshes. */
8887
su2activematrix Coord_p1; /*!< \brief Coordinates at time n+1 for use with dynamic meshes. */

Common/src/CConfig.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,8 +1581,6 @@ void CConfig::SetConfig_Options() {
15811581
addEnumOption("INLET_TYPE", Kind_Inlet, Inlet_Map, INLET_TYPE::TOTAL_CONDITIONS);
15821582
/*!\brief INC_INLET_TYPE \n DESCRIPTION: List of inlet types for incompressible flows. List length must match number of inlet markers. Options: VELOCITY_INLET, PRESSURE_INLET, INPUT_FILE. \ingroup Config*/
15831583
addEnumListOption("INC_INLET_TYPE", nInc_Inlet, Kind_Inc_Inlet, Inlet_Map);
1584-
1585-
15861584
addBoolOption("SPECIFIED_INLET_PROFILE", Inlet_From_File, false);
15871585
/*!\brief INLET_FILENAME \n DESCRIPTION: Input file for a specified inlet profile (w/ extension) \n DEFAULT: inlet.dat \ingroup Config*/
15881586
addStringOption("INLET_FILENAME", Inlet_Filename, string("inlet.dat"));

SU2_CFD/include/solvers/CFVMFlowSolverBase.inl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ void CFVMFlowSolverBase<V, R>::Allocate(const CConfig& config) {
123123
/*--- Store the value of the Flow direction at the inlet BC ---*/
124124

125125
AllocVectorOfMatrices(nVertex, nDim, Inlet_FlowDir);
126-
PointSource.resize(nPointDomain,nVar);
127-
PointSource.setConstant(0.0);
126+
PointSource.resize(nPointDomain,nVar)= su2double(0.0);
128127

129128
/*--- Force definition and coefficient arrays for all of the markers ---*/
130129

SU2_CFD/src/solvers/CSpeciesSolver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ void CSpeciesSolver::Initialize(CGeometry* geometry, CConfig* config, unsigned s
110110

111111
nDim = geometry->GetnDim();
112112

113-
SpeciesPointSource.resize(nPointDomain,nVar);
114-
SpeciesPointSource.setConstant(0.0);
113+
SpeciesPointSource.resize(nPointDomain,nVar) = su2double(0.0);
115114

116115

117116
if (iMesh == MESH_0 || config->GetMGCycle() == FULLMG_CYCLE) {

0 commit comments

Comments
 (0)