Skip to content

Commit

Permalink
Merge pull request #1590 from su2code/develop
Browse files Browse the repository at this point in the history
Update master
  • Loading branch information
pcarruscag authored Apr 2, 2022
2 parents 72b2fa9 + 328a1b7 commit 42d1571
Show file tree
Hide file tree
Showing 962 changed files with 8,243 additions and 4,632 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ jobs:
strategy:
fail-fast: false
matrix:
testscript: ['tutorials.py', 'parallel_regression.py', 'parallel_regression_AD.py', 'serial_regression.py', 'serial_regression_AD.py', 'hybrid_regression.py', 'hybrid_regression_AD.py']
testscript: ['vandv.py', 'tutorials.py', 'parallel_regression.py', 'parallel_regression_AD.py', 'serial_regression.py', 'serial_regression_AD.py', 'hybrid_regression.py', 'hybrid_regression_AD.py']
include:
- testscript: 'vandv.py'
tag: MPI
- testscript: 'tutorials.py'
tag: MPI
- testscript: 'parallel_regression.py'
Expand Down
3 changes: 3 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ Andrew Wendorff
Aniket C. Aranake
Antonio Rubino
Arne Bachmann
Arne Voß
Beckett Y. Zhou
Benjamin S. Kirk
Brendan Tracey
Brian Munguía
Carsten Othmer
Catarina Garbacz
Charanya Venkatesan-Crome
Christian Bauer
Clark Pederson
Daumantas Kavolis
Dave Taflin
Expand Down Expand Up @@ -90,6 +92,7 @@ JonathanSmith1936
Kedar Naik
LaSerpe
Lennaert Tol
Lisa Kusch
Matteo Pini
Max Aehle
Max Le
Expand Down
21 changes: 7 additions & 14 deletions Common/doc/docmain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,14 @@
* \file docmain.hpp
* \brief This file contains documentation for Doxygen and does not have any significance with respect to C++.
* \author F. Palacios
* \version 7.3.0 "Blackbird"
* \version 7.3.1 "Blackbird"
*
* The current SU2 release has been coordinated by the
* SU2 International Developers Society <www.su2devsociety.org>
* with selected contributions from the open-source community.
* - Prof. Juan J. Alonso's group at Stanford University.
* - Prof. Piero Colonna's group at Delft University of Technology.
* - Prof. Nicolas R. Gauger's group at Kaiserslautern University of Technology.
* - Prof. Alberto Guardone's group at Polytechnic University of Milan.
* - Prof. Rafael Palacios' group at Imperial College London.
* - Prof. Edwin van der Weide's group at the University of Twente.
* - Prof. Vincent Terrapon's group at the University of Liege.
* SU2 Project Website: https://su2code.github.io
*
* Copyright 2012-2021, Francisco D. Palacios, Thomas D. Economon,
* Tim Albring, and the SU2 contributors.
* The SU2 Project is maintained by the SU2 Foundation
* (http://su2foundation.org)
*
* Copyright 2012-2022, SU2 Contributors (cf. AUTHORS.md)
*
* SU2 is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand All @@ -33,7 +26,7 @@
*/

/*!
* \mainpage SU2 version 7.3.0 "Blackbird"
* \mainpage SU2 version 7.3.1 "Blackbird"
* SU2 suite is an open-source collection of C++ based software tools
* to perform PDE analysis and PDE constrained optimization problems. The toolset is designed with
* computational fluid dynamics and aerodynamic shape optimization in mind, but is extensible to
Expand Down
102 changes: 44 additions & 58 deletions Common/include/CConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* \brief All the information about the definition of the physical problem.
* The subroutines and functions are in the <i>CConfig.cpp</i> file.
* \author F. Palacios, T. Economon, B. Tracey
* \version 7.3.0 "Blackbird"
* \version 7.3.1 "Blackbird"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down Expand Up @@ -148,7 +148,6 @@ class CConfig {
su2double CL_Target; /*!< \brief Fixed Cl mode Target Cl. */
TIME_MARCHING TimeMarching; /*!< \brief Steady or unsteady (time stepping or dual time stepping) computation. */
unsigned short Dynamic_Analysis; /*!< \brief Static or dynamic structural analysis. */
unsigned short nStartUpIter; /*!< \brief Start up iterations using the fine grid. */
su2double FixAzimuthalLine; /*!< \brief Fix an azimuthal line due to misalignments of the nearfield. */
su2double **DV_Value; /*!< \brief Previous value of the design variable. */
su2double Venkat_LimiterCoeff; /*!< \brief Limiter coefficient */
Expand Down Expand Up @@ -388,10 +387,6 @@ class CConfig {
su2double **Periodic_RotCenter; /*!< \brief Rotational center for each periodic boundary. */
su2double **Periodic_RotAngles; /*!< \brief Rotation angles for each periodic boundary. */
su2double **Periodic_Translation; /*!< \brief Translation vector for each periodic boundary. */
unsigned short nPeriodic_Index; /*!< \brief Number of SEND_RECEIVE periodic transformations. */
su2double **Periodic_Center; /*!< \brief Rotational center for each SEND_RECEIVE boundary. */
su2double **Periodic_Rotation; /*!< \brief Rotation angles for each SEND_RECEIVE boundary. */
su2double **Periodic_Translate; /*!< \brief Translation vector for each SEND_RECEIVE boundary. */
string *Marker_CfgFile_TagBound; /*!< \brief Global index for markers using config file. */
unsigned short *Marker_All_KindBC, /*!< \brief Global index for boundaries using grid information. */
*Marker_CfgFile_KindBC; /*!< \brief Global index for boundaries using config file. */
Expand Down Expand Up @@ -490,6 +485,12 @@ class CConfig {
DIFFUSIVITYMODEL Kind_Diffusivity_Model; /*!< \brief Kind of the mass diffusivity Model */
FREESTREAM_OPTION Kind_FreeStreamOption; /*!< \brief Kind of free stream option to choose if initializing with density or temperature */
MAIN_SOLVER Kind_Solver; /*!< \brief Kind of solver: Euler, NS, Continuous adjoint, etc. */
LIMITER Kind_SlopeLimit, /*!< \brief Global slope limiter. */
Kind_SlopeLimit_Flow, /*!< \brief Slope limiter for flow equations.*/
Kind_SlopeLimit_Turb, /*!< \brief Slope limiter for the turbulence equation.*/
Kind_SlopeLimit_AdjTurb, /*!< \brief Slope limiter for the adjoint turbulent equation.*/
Kind_SlopeLimit_AdjFlow, /*!< \brief Slope limiter for the adjoint equation.*/
Kind_SlopeLimit_Species; /*!< \brief Slope limiter for the species equation.*/
unsigned short Kind_FluidModel, /*!< \brief Kind of the Fluid Model: Ideal, van der Waals, etc. */
Kind_InitOption, /*!< \brief Kind of Init option to choose if initializing with Reynolds number or with thermodynamic conditions */
Kind_GridMovement, /*!< \brief Kind of the static mesh movement. */
Expand All @@ -505,12 +506,6 @@ class CConfig {
Kind_AdjTurb_Linear_Prec, /*!< \brief Preconditioner of the turbulent adjoint linear solver. */
Kind_DiscAdj_Linear_Solver, /*!< \brief Linear solver for the discrete adjoint system. */
Kind_DiscAdj_Linear_Prec, /*!< \brief Preconditioner of the discrete adjoint linear solver. */
Kind_SlopeLimit, /*!< \brief Global slope limiter. */
Kind_SlopeLimit_Flow, /*!< \brief Slope limiter for flow equations.*/
Kind_SlopeLimit_Turb, /*!< \brief Slope limiter for the turbulence equation.*/
Kind_SlopeLimit_AdjTurb, /*!< \brief Slope limiter for the adjoint turbulent equation.*/
Kind_SlopeLimit_AdjFlow, /*!< \brief Slope limiter for the adjoint equation.*/
Kind_SlopeLimit_Species, /*!< \brief Slope limiter for the species equation.*/
Kind_TimeNumScheme, /*!< \brief Global explicit or implicit time integration. */
Kind_TimeIntScheme_Flow, /*!< \brief Time integration for the flow equations. */
Kind_TimeIntScheme_FEM_Flow, /*!< \brief Time integration for the flow equations. */
Expand Down Expand Up @@ -1124,9 +1119,10 @@ class CConfig {

unsigned long HistoryWrtFreq[3], /*!< \brief Array containing history writing frequencies for timer iter, outer iter, inner iter */
ScreenWrtFreq[3]; /*!< \brief Array containing screen writing frequencies for timer iter, outer iter, inner iter */
unsigned long VolumeWrtFreq; /*!< \brief Writing frequency for solution files. */
OUTPUT_TYPE* VolumeOutputFiles; /*!< \brief File formats to output */
unsigned short nVolumeOutputFiles; /*!< \brief Number of File formats to output */
unsigned short nVolumeOutputFiles=0;/*!< \brief Number of File formats to output */
unsigned short nVolumeOutputFrequencies; /*!< \brief Number of frequencies for the volume outputs */
unsigned long *VolumeOutputFrequencies; /*!< \brief list containing the writing frequencies */

bool Multizone_Mesh; /*!< \brief Determines if the mesh contains multiple zones. */
bool SinglezoneDriver; /*!< \brief Determines if the single-zone driver is used. (TEMPORARY) */
Expand Down Expand Up @@ -1261,6 +1257,8 @@ class CConfig {

void addUShortListOption(const string name, unsigned short & size, unsigned short * & option_field);

void addULongListOption(const string name, unsigned short & size, unsigned long * & option_field);

void addStringListOption(const string name, unsigned short & num_marker, string* & option_field);

void addConvectOption(const string name, unsigned short & space_field, unsigned short & centered_field, unsigned short & upwind_field);
Expand Down Expand Up @@ -1658,31 +1656,31 @@ class CConfig {
su2double GetHeat_Flux_Ref(void) const { return Heat_Flux_Ref; }

/*!
* \brief Get the value of the frestream temperature.
* \brief Get the value of the freestream temperature.
* \return Freestream temperature.
*/
su2double GetTemperature_FreeStream(void) const { return Temperature_FreeStream; }
/*!
* \brief Get the value of the frestream vibrational-electronic temperature.
* \return Freestream temperature.
* \brief Get the value of the freestream vibrational-electronic temperature.
* \return Freestream vibe-el temperature.
*/
su2double GetTemperature_ve_FreeStream(void) const { return Temperature_ve_FreeStream; }

/*!
* \brief Get the value of the frestream temperature.
* \return Freestream temperature.
* \brief Get the value of the freestream energy.
* \return Freestream energy.
*/
su2double GetEnergy_FreeStream(void) const { return Energy_FreeStream; }

/*!
* \brief Get the value of the frestream temperature.
* \return Freestream temperature.
* \brief Get the value of the freestream viscosity.
* \return Freestream viscosity.
*/
su2double GetViscosity_FreeStream(void) const { return Viscosity_FreeStream; }

/*!
* \brief Get the value of the frestream temperature.
* \return Freestream temperature.
* \brief Get the value of the freestream density.
* \return Freestream density.
*/
su2double GetDensity_FreeStream(void) const { return Density_FreeStream; }

Expand Down Expand Up @@ -1760,8 +1758,8 @@ class CConfig {
su2double GetPressure_Ref(void) const { return Pressure_Ref; }

/*!
* \brief Get the value of the reference pressure for non-dimensionalization.
* \return Reference pressure for non-dimensionalization.
* \brief Get the value of the reference energy for non-dimensionalization.
* \return Reference energy for non-dimensionalization.
*/
su2double GetEnergy_Ref(void) const { return Energy_Ref; }

Expand Down Expand Up @@ -1977,12 +1975,6 @@ class CConfig {
*/
su2double GetLength_Reynolds(void) const { return Length_Reynolds; }

/*!
* \brief Get the start up iterations using the fine grid, this works only for multigrid problems.
* \return Start up iterations using the fine grid.
*/
unsigned short GetnStartUpIter(void) const { return nStartUpIter; }

/*!
* \brief Get the reference area for non dimensional coefficient computation. If the value from the
* is 0 then, the code will compute the reference area using the projection of the shape into
Expand Down Expand Up @@ -2302,7 +2294,7 @@ class CConfig {
* \param[in] val_kind_fem - If FEM, what kind of FEM discretization.
*/
void SetKind_ConvNumScheme(unsigned short val_kind_convnumscheme, unsigned short val_kind_centered,
unsigned short val_kind_upwind, unsigned short val_kind_slopelimit,
unsigned short val_kind_upwind, LIMITER val_kind_slopelimit,
bool val_muscl, unsigned short val_kind_fem);

/*!
Expand Down Expand Up @@ -4571,37 +4563,37 @@ class CConfig {
* \brief Get the method for limiting the spatial gradients.
* \return Method for limiting the spatial gradients.
*/
unsigned short GetKind_SlopeLimit(void) const { return Kind_SlopeLimit; }
LIMITER GetKind_SlopeLimit(void) const { return Kind_SlopeLimit; }

/*!
* \brief Get the method for limiting the spatial gradients.
* \return Method for limiting the spatial gradients solving the flow equations.
*/
unsigned short GetKind_SlopeLimit_Flow(void) const { return Kind_SlopeLimit_Flow; }
LIMITER GetKind_SlopeLimit_Flow(void) const { return Kind_SlopeLimit_Flow; }

/*!
* \brief Get the method for limiting the spatial gradients.
* \return Method for limiting the spatial gradients solving the turbulent equation.
*/
unsigned short GetKind_SlopeLimit_Turb(void) const { return Kind_SlopeLimit_Turb; }
LIMITER GetKind_SlopeLimit_Turb(void) const { return Kind_SlopeLimit_Turb; }

/*!
* \brief Get the method for limiting the spatial gradients.
* \return Method for limiting the spatial gradients solving the species equation.
*/
unsigned short GetKind_SlopeLimit_Species() const { return Kind_SlopeLimit_Species; }
LIMITER GetKind_SlopeLimit_Species() const { return Kind_SlopeLimit_Species; }

/*!
* \brief Get the method for limiting the spatial gradients.
* \return Method for limiting the spatial gradients solving the adjoint turbulent equation.
*/
unsigned short GetKind_SlopeLimit_AdjTurb(void) const { return Kind_SlopeLimit_AdjTurb; }
LIMITER GetKind_SlopeLimit_AdjTurb(void) const { return Kind_SlopeLimit_AdjTurb; }

/*!
* \brief Get the method for limiting the spatial gradients.
* \return Method for limiting the spatial gradients solving the adjoint flow equation.
*/
unsigned short GetKind_SlopeLimit_AdjFlow(void) const { return Kind_SlopeLimit_AdjFlow; }
LIMITER GetKind_SlopeLimit_AdjFlow(void) const { return Kind_SlopeLimit_AdjFlow; }

/*!
* \brief Value of the calibrated constant for the Lax method (center scheme).
Expand Down Expand Up @@ -5989,6 +5981,11 @@ class CConfig {
*/
su2double GetStreamwise_Periodic_PressureDrop(void) const { return Streamwise_Periodic_PressureDrop; }

/*!
* \brief Set the value of the pressure delta from which body force vector is computed. Necessary for Restart metadata.
*/
void SetStreamwise_Periodic_PressureDrop(su2double Streamwise_Periodic_PressureDrop_) { Streamwise_Periodic_PressureDrop = Streamwise_Periodic_PressureDrop_; }

/*!
* \brief Get the value of the massflow from which body force vector is computed.
* \return Massflow for body force computation.
Expand Down Expand Up @@ -6604,13 +6601,6 @@ class CConfig {
*/
const su2double* GetInlet_Velocity(string val_index) const;

/*!
* \brief Get the mass fraction vector at a supersonic inlet boundary.
* \param[in] val_index - Index corresponding to the inlet boundary.
* \return The inlet mass fraction vector - NEMO only.
*/
const su2double* GetInlet_MassFrac(string val_index) const;

/*!
* \brief Get the total pressure at an inlet boundary.
* \param[in] val_index - Index corresponding to the inlet boundary.
Expand Down Expand Up @@ -6640,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 Expand Up @@ -8139,11 +8129,6 @@ class CConfig {
*/
void SetConfig_Options();

/*!
* \brief Set the config options.
*/
void SetRunTime_Options(void);

/*!
* \brief Set the config file parsing.
*/
Expand Down Expand Up @@ -9099,7 +9084,7 @@ class CConfig {
* \brief Check if values passed to the BC_HeatFlux-Routine are already integrated.
* \return YES if the passed values is the integrated heat flux over the marker's surface.
*/
bool GetIntegrated_HeatFlux(void) const { return Integrated_HeatFlux; }
bool GetIntegrated_HeatFlux() const { return Integrated_HeatFlux; }

/*!
* \brief Get Compute Average.
Expand Down Expand Up @@ -9456,11 +9441,6 @@ class CConfig {
*/
void SetScreen_Wrt_Freq(unsigned short iter, unsigned long nIter) { ScreenWrtFreq[iter] = nIter; }

/*!
* \brief GetScreen_Wrt_Freq_Inner
*/
unsigned long GetVolume_Wrt_Freq() const { return VolumeWrtFreq; }

/*!
* \brief GetVolumeOutputFiles
*/
Expand All @@ -9471,6 +9451,12 @@ class CConfig {
*/
unsigned short GetnVolumeOutputFiles() const { return nVolumeOutputFiles; }

/*!
* \brief GetVolumeOutputFrequency
* \param[in] iFile: index of file number for which the writing frequency needs to be returned.
*/
unsigned long GetVolumeOutputFrequency(unsigned short iFile) const { return VolumeOutputFrequencies[iFile]; }

/*!
* \brief Get the desired factorization frequency for PaStiX
* \return Number of calls to 'Build' that trigger re-factorization.
Expand Down
2 changes: 1 addition & 1 deletion Common/include/adt/CADTBaseClass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CADTBaseClass.hpp
* \brief Base class for storing an ADT in an arbitrary number of dimensions.
* \author E. van der Weide
* \version 7.3.0 "Blackbird"
* \version 7.3.1 "Blackbird"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/adt/CADTComparePointClass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CADTComparePointClass.hpp
* \brief subroutines for comparing two points in an alternating digital tree (ADT).
* \author E. van der Weide
* \version 7.3.0 "Blackbird"
* \version 7.3.1 "Blackbird"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
6 changes: 3 additions & 3 deletions Common/include/adt/CADTElemClass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CADTElemClass.hpp
* \brief Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
* \author E. van der Weide
* \version 7.3.0 "Blackbird"
* \version 7.3.1 "Blackbird"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down Expand Up @@ -35,7 +35,7 @@
* \class CADTElemClass
* \brief Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
* \author E. van der Weide
* \version 7.3.0 "Blackbird"
* \version 7.3.1 "Blackbird"
*/
class CADTElemClass : public CADTBaseClass {
private:
Expand Down Expand Up @@ -97,7 +97,7 @@ class CADTElemClass : public CADTBaseClass {
* \param[out] rankID Rank on which element containing the coordinate is stored.
* \param[out] parCoor Parametric coordinates of coor inside the element,
which contains the coordinate.
* \param[out] weightsInterpol Interpolation weigts of of coor inside the element,
* \param[out] weightsInterpol Interpolation weights of coor inside the element,
which contains the coordinate.
* \return True if an element is found, false if not.
*/
Expand Down
Loading

0 comments on commit 42d1571

Please sign in to comment.