Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling mistakes #1586

Merged
merged 2 commits into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Common/include/CConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6630,8 +6630,8 @@ class CConfig {
su2double GetExhaust_Pressure_Target(string val_index) const;

/*!
* \brief Value of the CFL reduction in LevelSet problems.
* \return Value of the CFL reduction in LevelSet problems.
* \brief Value of the CFL reduction in turbulence problems.
* \return Value of the CFL reduction in turbulence problems.
*/
su2double GetCFLRedCoeff_Turb(void) const { return CFLRedCoeff_Turb; }

Expand Down
2 changes: 1 addition & 1 deletion Common/src/CConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4813,7 +4813,7 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
}
}

/*--- Check feassbility for Streamwise Periodic flow ---*/
/*--- Check feasibility for Streamwise Periodic flow ---*/
if (Kind_Streamwise_Periodic != ENUM_STREAMWISE_PERIODIC::NONE) {
Comment on lines -4816 to 4817
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol, who does these mistakes ... oh, wait 🤦

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

if (Kind_Regime != ENUM_REGIME::INCOMPRESSIBLE)
SU2_MPI::Error("Streamwise Periodic Flow currently only implemented for incompressible flow.", CURRENT_FUNCTION);
Expand Down
2 changes: 1 addition & 1 deletion SU2_CFD/include/gradients/computeGradientsLeastSquares.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void computeGradientsLeastSquares(CSolver* solver,
su2double weight = 1.0;
if(weighted) weight = GeometryToolbox::SquaredNorm(nDim, dist_ij);

/*--- Sumations for entries of upper triangular matrix R. ---*/
/*--- Summations for entries of upper triangular matrix R. ---*/

if (weight > 0.0)
{
Expand Down
2 changes: 1 addition & 1 deletion SU2_CFD/src/drivers/CDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ void CDriver::Inlet_Preprocessing(CSolver ***solver, CGeometry **geometry,
/*--- Uniform inlets or python-customized inlets ---*/

/* --- Initialize quantities for inlet boundary
* This routine does not check if they python wrapper is being used to
* This routine does not check if the python wrapper is being used to
* set custom boundary conditions. This is intentional; the
* default values for python custom BCs are initialized with the default
* values specified in the config (avoiding non physical values) --- */
Expand Down
2 changes: 1 addition & 1 deletion SU2_CFD/src/solvers/CTurbSSTSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ CTurbSSTSolver::CTurbSSTSolver(CGeometry *geometry, CConfig *config, unsigned sh
InitiateComms(geometry, config, SOLUTION_EDDY);
CompleteComms(geometry, config, SOLUTION_EDDY);

/*--- Initializate quantities for SlidingMesh Interface ---*/
/*--- Initialize quantities for SlidingMesh Interface ---*/

SlidingState.resize(nMarker);
SlidingStateNodes.resize(nMarker);
Expand Down
2 changes: 1 addition & 1 deletion SU2_PY/SU2/eval/design.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Design(object):
con_cieq(dvs) - inequality constraints : list
con_dcieq(dvs) - inequality constraint gradients : list[list]

Fucntional Interface
Functional Interface
The following methods take an objective function name for input.
func(func_name) - function of specified name
grad(func_name,method='CONTINUOUS_ADJOINT') - gradient of specified name
Expand Down