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

(towards) Aero Thermo Elasticity #951

Merged
merged 9 commits into from
Apr 29, 2020
51 changes: 29 additions & 22 deletions Common/include/CConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2827,6 +2827,7 @@ class CConfig {
* \return Total number of boundary markers.
*/
unsigned short GetnMarker_NearFieldBound(void) const { return nMarker_NearFieldBound; }

/*!
* \brief Get the total number of deformable markers at the boundary.
* \return Total number of deformable markers at the boundary.
Expand Down Expand Up @@ -3351,7 +3352,7 @@ class CConfig {
* \param[in] val_marker - Index of the marker in which we are interested.
* \param[in] val_interface - 0 or 1 depending if the the marker is or not a DEFORM_MESH marker.
*/
void SetMarker_All_Deform_Mesh(unsigned short val_marker, unsigned short val_interface) { Marker_All_Deform_Mesh[val_marker] = val_interface; }
void SetMarker_All_Deform_Mesh(unsigned short val_marker, unsigned short val_deform) { Marker_All_Deform_Mesh[val_marker] = val_deform; }

/*!
* \brief Set if a in marker <i>val_marker</i> the flow load will be computed/employed.
Expand Down Expand Up @@ -6015,116 +6016,116 @@ class CConfig {
* \note When we read the config file, it stores the markers in a particular vector.
* \return Index in the config information of the marker <i>val_marker</i>.
*/
unsigned short GetMarker_CfgFile_TagBound(string val_marker);
unsigned short GetMarker_CfgFile_TagBound(string val_marker) const;

/*!
* \brief Get the name in the config information of the marker number <i>val_marker</i>.
* \note When we read the config file, it stores the markers in a particular vector.
* \return Name of the marker in the config information of the marker <i>val_marker</i>.
*/
string GetMarker_CfgFile_TagBound(unsigned short val_marker);
string GetMarker_CfgFile_TagBound(unsigned short val_marker) const;

/*!
* \brief Get the boundary information (kind of boundary) in the config information of the marker <i>val_marker</i>.
* \return Kind of boundary in the config information of the marker <i>val_marker</i>.
*/
unsigned short GetMarker_CfgFile_KindBC(string val_marker);
unsigned short GetMarker_CfgFile_KindBC(string val_marker) const;

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

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

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

/*!
* \brief Get the plotting 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_Plotting(string val_marker);
unsigned short GetMarker_CfgFile_Plotting(string val_marker) const;

/*!
* \brief Get the plotting 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_Analyze(string val_marker);
unsigned short GetMarker_CfgFile_Analyze(string val_marker) const;

/*!
* \brief Get the FSI interface information from the config definition for the marker <i>val_marker</i>.
* \brief Get the multi-physics interface 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_ZoneInterface(string val_marker);
unsigned short GetMarker_CfgFile_ZoneInterface(string val_marker) const;

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

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

/*!
* \brief Get the MixingPlane interface 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_MixingPlaneInterface(string val_marker);
unsigned short GetMarker_CfgFile_MixingPlaneInterface(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>.
*/
unsigned short GetMarker_CfgFile_DV(string val_marker);
unsigned short GetMarker_CfgFile_DV(string val_marker) const;

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

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

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

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

/*!
* \brief Get the periodic information from the config definition of the marker <i>val_marker</i>.
* \return Periodic information of the boundary in the config information of the marker <i>val_marker</i>.
*/
unsigned short GetMarker_CfgFile_PerBound(string val_marker);
unsigned short GetMarker_CfgFile_PerBound(string val_marker) const;

/*!
* \brief Get the name of the marker <i>val_marker</i>.
* \return The interface which owns that marker <i>val_marker</i>.
*/
int GetMarker_ZoneInterface(string val_marker);
unsigned short GetMarker_ZoneInterface(string val_marker) const;

/*!
* \brief Get the name of the marker <i>val_iMarker</i>.
Expand All @@ -6138,7 +6139,6 @@ class CConfig {
*/
unsigned short GetnMarker_ZoneInterface(void) const { return nMarker_ZoneInterface; }


/*!
* \brief Determines whether a marker with index iMarker is a solid boundary.
* \param iMarker
Expand Down Expand Up @@ -9364,4 +9364,11 @@ class CConfig {
*/
unsigned long GetEdgeColoringGroupSize(void) const { return edgeColorGroupSize; }

/*!
* \brief Find the marker index (if any) that is part of a given interface pair.
* \param[in] iInterface - Number of the interface pair being tested, starting at 0.
* \return -1 if (on this mpi rank) the zone defined by config is not part of the interface.
*/
short FindInterfaceMarker(unsigned short iInterface) const;

};
7 changes: 0 additions & 7 deletions Common/include/interface_interpolation/CInterpolator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ class CInterpolator {
*/
virtual void PrintStatistics(void) const { }

/*!
* \brief Find the index of the interface marker shared by that zone
* \param[in] config - Definition of the particular problem.
* \param[in] val_marker_interface - Interface tag.
*/
static int FindInterfaceMarker(const CConfig *config, unsigned short val_marker_interface);

/*!
* \brief Check whether an interface should be processed or not, i.e. if it is part of the zones.
* \param[in] val_markDonor - Marker tag from donor zone.
Expand Down
2 changes: 1 addition & 1 deletion Common/include/mpi_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ class CMediMPIWrapper: public CBaseMPIWrapper {
#define MPI_MAX 10
#define MPI_INT 11
#define MPI_PROD 12
#define MPI_STATUS_IGNORE nullptr
class CBaseMPIWrapper {

public:
Expand Down Expand Up @@ -448,7 +449,6 @@ class CBaseMPIWrapper {
};
typedef int SU2_Comm;
typedef CBaseMPIWrapper SU2_MPI;
extern CBaseMPIWrapper::Status* MPI_STATUS_IGNORE;

#endif

Expand Down
Loading