Skip to content

Commit 1c61027

Browse files
authored
Merge branch 'develop' into fix_objective_functions
2 parents e099ca2 + 23d3f41 commit 1c61027

3 files changed

Lines changed: 0 additions & 20 deletions

File tree

Common/include/geometry/CGeometry.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,13 +1072,6 @@ class CGeometry {
10721072
*/
10731073
inline virtual long GetGlobal_to_Local_Point(unsigned long val_ipoint) const { return 0; }
10741074

1075-
/*!
1076-
* \brief A virtual member.
1077-
* \param[in] val_ipoint - Global marker.
1078-
* \return Local marker that correspond with the global index.
1079-
*/
1080-
inline virtual unsigned short GetGlobal_to_Local_Marker(unsigned short val_imarker) const { return 0; }
1081-
10821075
/*!
10831076
* \brief Retrieve total number of elements in a simulation across all processors.
10841077
* \return Total number of elements in a simulation across all processors.

Common/include/geometry/CPhysicalGeometry.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ class CPhysicalGeometry final : public CGeometry {
4242
unordered_map<unsigned long, unsigned long>
4343
Global_to_Local_Point; /*!< \brief Global-local indexation for the points. */
4444
long *Local_to_Global_Point{nullptr}; /*!< \brief Local-global indexation for the points. */
45-
unsigned short *Local_to_Global_Marker{nullptr}; /*!< \brief Local to Global marker. */
46-
unsigned short *Global_to_Local_Marker{nullptr}; /*!< \brief Global to Local marker. */
4745
unsigned long *adj_counter{nullptr}; /*!< \brief Adjacency counter. */
4846
unsigned long **adjacent_elem{nullptr}; /*!< \brief Adjacency element list. */
4947
su2activematrix Sensitivity; /*!< \brief Matrix holding the sensitivities at each point. */
@@ -303,15 +301,6 @@ class CPhysicalGeometry final : public CGeometry {
303301
return -1;
304302
}
305303

306-
/*!
307-
* \brief Get the local marker that correspond with the global marker.
308-
* \param[in] val_ipoint - Global marker.
309-
* \return Local marker that correspond with the global index.
310-
*/
311-
inline unsigned short GetGlobal_to_Local_Marker(unsigned short val_imarker) const override {
312-
return Global_to_Local_Marker[val_imarker];
313-
}
314-
315304
/*!
316305
* \brief Reads the geometry of the grid and adjust the boundary
317306
* conditions with the configuration file in parallel (for parmetis).

Common/src/geometry/CPhysicalGeometry.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,6 @@ CPhysicalGeometry::CPhysicalGeometry(CGeometry *geometry,
317317
CPhysicalGeometry::~CPhysicalGeometry(void) {
318318

319319
delete [] Local_to_Global_Point;
320-
delete [] Global_to_Local_Marker;
321-
delete [] Local_to_Global_Marker;
322320

323321
/*--- Free up memory from turbomachinery performance computation ---*/
324322

0 commit comments

Comments
 (0)