Skip to content

Commit 32b7c95

Browse files
authored
Apply suggestions from code review
1 parent ae0df98 commit 32b7c95

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class CFVMFlowSolverBase : public CSolver {
280280
/*!
281281
* \brief Computes and sets the required auxilliary vars (and gradients) for axisymmetric flow.
282282
*/
283-
void PrepareAndConputeAuxVarGrad(CGeometry *geometry, const CConfig* config);
283+
void ComputeAxisymmetricAuxGradients(CGeometry *geometry, const CConfig* config);
284284

285285
/*!
286286
* \brief Instantiate a SIMD numerics object.

SU2_CFD/include/solvers/CFVMFlowSolverBase.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2925,7 +2925,7 @@ su2double CFVMFlowSolverBase<V,R>::EvaluateCommonObjFunc(const CConfig& config)
29252925
}
29262926

29272927
template <class V, ENUM_REGIME FlowRegime>
2928-
void CFVMFlowSolverBase<V, FlowRegime>::PrepareAndConputeAuxVarGrad(CGeometry *geometry, const CConfig* config) {
2928+
void CFVMFlowSolverBase<V, FlowRegime>::ComputeAxisymmetricAuxGradients(CGeometry *geometry, const CConfig* config) {
29292929

29302930
/*--- Loop through all points to set the auxvargrad --*/
29312931
SU2_OMP_FOR_STAT(omp_chunk_size)

SU2_CFD/src/solvers/CEulerSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2339,7 +2339,7 @@ void CEulerSolver::Source_Residual(CGeometry *geometry, CSolver **solver_contain
23392339

23402340
/*--- For viscous problems, we need an additional gradient. ---*/
23412341
if (viscous) {
2342-
PrepareAndConputeAuxVarGrad(geometry, config);
2342+
ComputeAxisymmetricAuxGradients(geometry, config);
23432343
}
23442344

23452345
/*--- loop over points ---*/

SU2_CFD/src/solvers/CNEMOEulerSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ void CNEMOEulerSolver::Source_Residual(CGeometry *geometry, CSolver **solver_con
837837

838838
/*--- Preprocess viscous axisymm variables (if necessary) ---*/
839839
if (axisymm && viscous) {
840-
PrepareAndConputeAuxVarGrad(geometry,config);
840+
ComputeAxisymmetricAuxGradients(geometry,config);
841841
}
842842

843843
/*--- loop over interior points ---*/

0 commit comments

Comments
 (0)