Skip to content
Open
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
1 change: 1 addition & 0 deletions Common/include/linear_algebra/vector_expressions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ namespace math = ::std;
#define sign_impl(x) Scalar(1 - 2 * (x < 0))
MAKE_UNARY_FUN(operator-, minus_, -)
MAKE_UNARY_FUN(abs, abs_, math::abs)
MAKE_UNARY_FUN(exp, exp_, math::exp)
MAKE_UNARY_FUN(sqrt, sqrt_, math::sqrt)
MAKE_UNARY_FUN(sign, sign_, sign_impl)
#undef sign_impl
Expand Down
2 changes: 2 additions & 0 deletions Common/include/parallelization/special_vectorization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ MAKE_BINARY_FUN(fmin, min_p)
return res; \
}

MAKE_UNARY_FUN(exp, ::exp)

#undef MAKE_UNARY_FUN

/*--- Functions of two arguments, with arrays and scalars. ---*/
Expand Down
2 changes: 1 addition & 1 deletion Common/src/CConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ void CConfig::SetConfig_Options() {
* \n DESCRIPTION: Numerical method for spatial gradients used only for upwind reconstruction \n OPTIONS: See \link Gradient_Map \endlink. \n DEFAULT: NO_GRADIENT. \ingroup Config*/
addEnumOption("NUM_METHOD_GRAD_RECON", Kind_Gradient_Method_Recon, Gradient_Map, NO_GRADIENT);
/*!\brief VENKAT_LIMITER_COEFF
* \n DESCRIPTION: Coefficient for the limiter. DEFAULT value 0.5. Larger values decrease the extent of limiting, values approaching zero cause lower-order approximation to the solution. \ingroup Config */
* \n DESCRIPTION: Coefficient for the limiter. DEFAULT value 0.05. Larger values decrease the extent of limiting, values approaching zero cause lower-order approximation to the solution. \ingroup Config */
addDoubleOption("VENKAT_LIMITER_COEFF", Venkat_LimiterCoeff, 0.05);
/*!\brief ADJ_SHARP_LIMITER_COEFF
* \n DESCRIPTION: Coefficient for detecting the limit of the sharp edges. DEFAULT value 3.0. Use with sharp edges limiter. \ingroup Config*/
Expand Down
5 changes: 4 additions & 1 deletion SU2_CFD/include/numerics_simd/CNumericsSIMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/

#include "CNumericsSIMD.hpp"
#include "flow/convection/roe.hpp"
#include "flow/convection/upwind.hpp"
#include "flow/convection/centered.hpp"
#include "flow/diffusion/viscous_fluxes.hpp"

Expand All @@ -44,6 +44,9 @@ CNumericsSIMD* createUpwindIdealNumerics(const CConfig& config, int iMesh, const
case UPWIND::ROE:
obj = new CRoeScheme<ViscousDecorator>(config, iMesh, turbVars);
break;
case UPWIND::MSW:
obj = new CMSWScheme<ViscousDecorator>(config, iMesh, turbVars);
break;
default:
break;
}
Expand Down
Loading