Skip to content

Commit

Permalink
Merge branch 'develop' into load_less_stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kursatyurt authored Sep 28, 2024
2 parents 3f41e7c + a991912 commit 59bea3b
Show file tree
Hide file tree
Showing 1,019 changed files with 1,582 additions and 1,207 deletions.
35 changes: 33 additions & 2 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 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down Expand Up @@ -237,6 +237,7 @@ class CConfig {
*Marker_MixingPlaneInterface, /*!< \brief MixingPlane interface boundary markers. */
*Marker_TurboBoundIn, /*!< \brief Turbomachinery performance boundary markers. */
*Marker_TurboBoundOut, /*!< \brief Turbomachinery performance boundary donor markers. */
*Marker_Turbomachinery, /*!< \breif Turbomachinery markers */
*Marker_NearFieldBound, /*!< \brief Near Field boundaries markers. */
*Marker_Deform_Mesh, /*!< \brief Deformable markers at the boundary. */
*Marker_Deform_Mesh_Sym_Plane, /*!< \brief Marker with symmetric deformation. */
Expand Down Expand Up @@ -443,6 +444,7 @@ class CConfig {

TURBO_PERF_KIND *Kind_TurboPerf; /*!< \brief Kind of turbomachynery architecture.*/
TURBOMACHINERY_TYPE *Kind_TurboMachinery;
su2vector<TURBO_INTERFACE_KIND> Kind_TurboInterface;

/* Gradient smoothing options */
su2double SmoothingEps1; /*!< \brief Parameter for the identity part in gradient smoothing. */
Expand All @@ -466,6 +468,7 @@ class CConfig {
unsigned short* nDV_Value; /*!< \brief Number of values for each design variable (might be different than 1 if we allow arbitrary movement). */
unsigned short nFFDBox; /*!< \brief Number of ffd boxes. */
unsigned short nTurboMachineryKind; /*!< \brief Number turbomachinery types specified. */
unsigned short nTurboInterfaces; /*!< \brief Number of turbomachiery interfaces */
unsigned short nParamDV; /*!< \brief Number of parameters of the design variable. */
string DV_Filename; /*!< \brief Filename for providing surface positions from an external parameterization. */
string DV_Unordered_Sens_Filename; /*!< \brief Filename of volume sensitivities in an unordered ASCII format. */
Expand Down Expand Up @@ -746,6 +749,7 @@ class CConfig {
*Marker_All_Turbomachinery, /*!< \brief Global index for Turbomachinery markers using the grid information. */
*Marker_All_TurbomachineryFlag, /*!< \brief Global index for Turbomachinery markers flag using the grid information. */
*Marker_All_MixingPlaneInterface, /*!< \brief Global index for MixingPlane interface markers using the grid information. */
*Marker_All_Giles, /*!< \brief Global index for Giles markers using the grid information. */
*Marker_All_DV, /*!< \brief Global index for design variable markers using the grid information. */
*Marker_All_Moving, /*!< \brief Global index for moving surfaces using the grid information. */
*Marker_All_Deform_Mesh, /*!< \brief Global index for deformable markers at the boundary. */
Expand All @@ -763,6 +767,7 @@ class CConfig {
*Marker_CfgFile_Turbomachinery, /*!< \brief Global index for Turbomachinery using the config information. */
*Marker_CfgFile_TurbomachineryFlag, /*!< \brief Global index for Turbomachinery flag using the config information. */
*Marker_CfgFile_MixingPlaneInterface, /*!< \brief Global index for MixingPlane interface using the config information. */
*Marker_CfgFile_Giles, /*!< \brief Global index for Giles markers flag using the config information. */
*Marker_CfgFile_Moving, /*!< \brief Global index for moving surfaces using the config information. */
*Marker_CfgFile_Deform_Mesh, /*!< \brief Global index for deformable markers at the boundary. */
*Marker_CfgFile_Deform_Mesh_Sym_Plane, /*!< \brief Global index for markers with symmetric deformations. */
Expand Down Expand Up @@ -1375,7 +1380,7 @@ class CConfig {
su2double** & RotCenter, su2double** & RotAngles, su2double** & Translation);

void addTurboPerfOption(const string & name, unsigned short & nMarker_TurboPerf,
string* & Marker_TurboBoundIn, string* & Marker_TurboBoundOut);
string* & Marker_TurboBoundIn, string* & Marker_TurboBoundOut, string* & Marker_Turbomachinery);

void addActDiskOption(const string & name,
unsigned short & nMarker_ActDiskInlet, unsigned short & nMarker_ActDiskOutlet, string* & Marker_ActDiskInlet, string* & Marker_ActDiskOutlet,
Expand Down Expand Up @@ -3513,6 +3518,13 @@ class CConfig {
*/
void SetMarker_All_MixingPlaneInterface(unsigned short val_marker, unsigned short val_mixpla_interface) { Marker_All_MixingPlaneInterface[val_marker] = val_mixpla_interface; }

/*!
* \brief Set if a marker <i>val_marker</i> is part of the Giles boundary (read from the config file).
* \param[in] val_marker - Index of the marker in which we are interested.
* \param[in] val_giles - 0 if not part of the Giles boundary or greater than 1 if it is part.
*/
void SetMarker_All_Giles(unsigned short val_marker, unsigned short val_giles) { Marker_All_Giles[val_marker] = val_giles; }

/*!
* \brief Set if a marker <i>val_marker</i> is going to be affected by design variables <i>val_moving</i>
* (read from the config file).
Expand Down Expand Up @@ -3659,6 +3671,13 @@ class CConfig {
*/
unsigned short GetMarker_All_TurbomachineryFlag(unsigned short val_marker) const { return Marker_All_TurbomachineryFlag[val_marker]; }

/*!
* \brief Get the Giles boundary information for a marker <i>val_marker</i>.
* \param[in] val_marker value of the marker on the grid.
* \return 0 if is not part of the MixingPlane Interface and greater than 1 if it is part.
*/
unsigned short GetMarker_All_Giles(unsigned short val_marker) const { return Marker_All_Giles[val_marker]; }

/*!
* \brief Get the number of FSI interface markers <i>val_marker</i>.
* \param[in] void.
Expand Down Expand Up @@ -5335,6 +5354,12 @@ class CConfig {
*/
TURBO_PERF_KIND GetKind_TurboPerf(unsigned short val_iZone) const { return Kind_TurboPerf[val_iZone]; };

/*!
* \brief gets interface kind for an interface marker in turbomachinery problem
* \return interface kind
*/
TURBO_INTERFACE_KIND GetKind_TurboInterface(unsigned short interfaceIndex) const { return Kind_TurboInterface[interfaceIndex]; }

/*!
* \brief get outlet bounds name for Turbomachinery performance calculation.
* \return name of the bound.
Expand Down Expand Up @@ -6398,6 +6423,12 @@ class CConfig {
*/
unsigned short GetMarker_CfgFile_MixingPlaneInterface(const string& val_marker) const;

/*!
* \brief Get the Giles boundary information from the config definition for the marker <i>val_marker</i>.
* \return Plotting information of the boundary in the config information for the marker <i>val_marker</i>.
*/
unsigned short GetMarker_CfgFile_Giles(const string& val_marker) const;

/*!
* \brief Get the DV information from the config definition for the marker <i>val_marker</i>.
* \return DV information of the boundary in the config information for the marker <i>val_marker</i>.
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 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* 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 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
4 changes: 2 additions & 2 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 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down Expand Up @@ -36,7 +36,7 @@
* \ingroup ADT
* \brief Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*/
class CADTElemClass : public CADTBaseClass {
private:
Expand Down
2 changes: 1 addition & 1 deletion Common/include/adt/CADTNodeClass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CADTNodeClass.hpp
* \brief Class for storing the information needed in a node of an ADT.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/adt/CADTPointsOnlyClass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CADTPointsOnlyClass.hpp
* \brief Class for storing an ADT of only points in an arbitrary number of dimensions.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
4 changes: 2 additions & 2 deletions Common/include/adt/CBBoxTargetClass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* \brief Class for storing the information of a possible bounding box candidate
during a minimum distance search.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down Expand Up @@ -35,7 +35,7 @@
* \brief Class for storing the information of a possible bounding box candidate
during a minimum distance search.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*/
struct CBBoxTargetClass {
unsigned long boundingBoxID; /*!< \brief Corresponding bounding box ID. */
Expand Down
2 changes: 1 addition & 1 deletion Common/include/basic_types/ad_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file ad_structure.hpp
* \brief Main routines for the algorithmic differentiation (AD) structure.
* \author T. Albring, J. Blühdorn
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/basic_types/datatype_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file datatype_structure.hpp
* \brief Headers for generalized datatypes, defines an interface for AD types.
* \author T. Albring
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/code_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file code_config.hpp
* \brief Header file for collecting common macros, definitions and type configurations.
* \author T. Albring, P. Gomes, J. Blühdorn
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/containers/C2DContainer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file C2DContainer.hpp
* \brief A templated vector/matrix object.
* \author P. Gomes
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/containers/CFastFindAndEraseQueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* \brief A queue-type container (push back, pop front), but with
* fast deletion of arbitrary items (possibly in the middle).
* \author P. Gomes
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/containers/CFileReaderLUT.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CFileReaderLUT.hpp
* \brief reading lookup table for tabulated fluid properties
* \author D. Mayer, T. Economon
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/containers/CLookUpTable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CLookupTable.hpp
* \brief tabulation of fluid properties
* \author D. Mayer, T. Economon
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/containers/CPyWrapperMatrixView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CPyWrapperMatrixView.hpp
* \brief Simple matrix views to use with the python wrapper.
* \author P. Gomes
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
4 changes: 2 additions & 2 deletions Common/include/containers/CTrapezoidalMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CTrapezoidalMap.hpp
* \brief Implementation of the trapezoidal map for tabulation and lookup of fluid properties
* \author D. Mayer, T. Economon
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down Expand Up @@ -38,7 +38,7 @@
* \ingroup LookUpInterp
* \brief Construction of trapezoidal map for tabulated lookup
* \author: D. Mayer, T. Economon
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*/
class CTrapezoidalMap {
protected:
Expand Down
2 changes: 1 addition & 1 deletion Common/include/containers/CVertexMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* \file CVertexMap.hpp
* \brief An index to index lookup vector.
* \author P. Gomes
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/containers/container_decorators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* \brief Collection of small classes that decorate C2DContainer to
* augment its functionality, e.g. give it extra dimensions.
* \author P. Gomes
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
2 changes: 1 addition & 1 deletion Common/include/fem/fem_cgns_elements.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* with high order elements.
* The functions are in the <i>cgns_elements.cpp</i> file.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down
4 changes: 2 additions & 2 deletions Common/include/fem/fem_gauss_jacobi_quadrature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
All the functions in this class are based on the program JACOBI_RULE
of John Burkardt.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*
* SU2 Project Website: https://su2code.github.io
*
Expand Down Expand Up @@ -95,7 +95,7 @@ using namespace std;
* \brief Class used to determine the quadrature points of the Gauss Jacobi
integration rules.
* \author E. van der Weide
* \version 8.0.1 "Harrier"
* \version 8.1.0 "Harrier"
*/
class CGaussJacobiQuadrature {
public:
Expand Down
Loading

0 comments on commit 59bea3b

Please sign in to comment.