Skip to content

Commit 8e0085b

Browse files
authored
Merge branch 'develop' into feature_invalidGridPrevention
2 parents 770dc94 + 987b825 commit 8e0085b

440 files changed

Lines changed: 5010 additions & 6597 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,6 @@ Mercurial
8787
# Ignore build folder
8888
./build/
8989
build/
90+
91+
# ninja binary (build system)
9092
ninja

Common/include/CConfig.hpp

Lines changed: 43 additions & 160 deletions
Large diffs are not rendered by default.

Common/include/adt/CADTBaseClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#include "../basic_types/datatype_structure.hpp"
3434
#include "./CADTNodeClass.hpp"
35-
#include "../omp_structure.hpp"
35+
#include "../parallelization/omp_structure.hpp"
3636

3737
using namespace std;
3838

Common/include/adt/CADTElemClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "./CADTBaseClass.hpp"
3131
#include "./CBBoxTargetClass.hpp"
32-
#include "../omp_structure.hpp"
32+
#include "../parallelization/omp_structure.hpp"
3333

3434
/*!
3535
* \class CADTElemClass

Common/include/containers/C2DContainer.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ class C2DContainer :
613613
* \brief Useful typedefs with default template parameters
614614
*/
615615
template<class T> using su2vector = C2DContainer<unsigned long, T, StorageType::ColumnMajor, 64, DynamicSize, 1>;
616-
template<class T> using su2matrix = C2DContainer<unsigned long, T, StorageType::RowMajor, 64, DynamicSize, DynamicSize>;
616+
template<class T> using su2matrix = C2DContainer<unsigned long, T, StorageType::RowMajor, 64, DynamicSize, DynamicSize>;
617+
template<class T> using ColMajorMatrix = C2DContainer<unsigned long, T, StorageType::ColumnMajor, 64, DynamicSize, DynamicSize>;
617618

618619
using su2activevector = su2vector<su2double>;
619620
using su2activematrix = su2matrix<su2double>;

Common/include/fem/fem_cgns_elements.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#pragma once
3131

32-
#include "../mpi_structure.hpp"
32+
#include "../parallelization/mpi_structure.hpp"
3333

3434
#ifdef HAVE_CGNS
3535
#include "cgnslib.h"

Common/include/fem/fem_geometry_structure.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "fem_cgns_elements.hpp"
3535
#endif
3636
#include "../wall_model.hpp"
37-
#include "../blas_structure.hpp"
37+
#include "../linear_algebra/blas_structure.hpp"
3838

3939
using namespace std;
4040

Common/include/geometry/CGeometry.hpp

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
#pragma once
3030

31-
#include "../mpi_structure.hpp"
31+
#include "../parallelization/mpi_structure.hpp"
3232

3333
#ifdef HAVE_METIS
3434
#include "metis.h"
@@ -84,7 +84,7 @@ class CGeometry {
8484
nPointGhost{0}, /*!< \brief Number of ghost points of the mesh. */
8585
nPointNode{0}, /*!< \brief Size of the node array allocated to hold CPoint objects. */
8686
Global_nPoint{0}, /*!< \brief Total number of nodes in a simulation across all processors (including halos). */
87-
Global_nPointDomain{0}, /*!< \brief Total number of nodes in a simulation across all processors (excluding halos). */
87+
Global_nPointDomain{0}, /*!< \brief Total number of nodes in a simulation across all processors (excluding halos). */
8888
nElem{0}, /*!< \brief Number of elements of the mesh. */
8989
Global_nElem{0}, /*!< \brief Total number of elements in a simulation across all processors (all types). */
9090
Global_nElemDomain{0}, /*!< \brief Total number of elements in a simulation across all processors (excluding halos). */
@@ -190,7 +190,7 @@ class CGeometry {
190190

191191
CPrimalGrid** elem{nullptr}; /*!< \brief Element vector (primal grid information). */
192192
CPrimalGrid** face{nullptr}; /*!< \brief Face vector (primal grid information). */
193-
CPrimalGrid*** bound{nullptr}; /*!< \brief Boundary vector (primal grid information). */
193+
CPrimalGrid*** bound{nullptr}; /*!< \brief Boundary vector (primal grid information). */
194194
CPoint* nodes{nullptr}; /*!< \brief Node vector (dual grid information). */
195195
CEdge* edges{nullptr}; /*!< \brief Edge vector (dual grid information). */
196196
CVertex*** vertex{nullptr}; /*!< \brief Boundary Vertex vector (dual grid information). */
@@ -857,20 +857,6 @@ class CGeometry {
857857
*/
858858
inline virtual void SetBoundControlVolume(CConfig *config, CGeometry *geometry, unsigned short action) {}
859859

860-
/*!
861-
* \brief A virtual member.
862-
* \param[in] config - Definition of the particular problem.
863-
* \param[in] val_mesh_out_filename - Name of the output file.
864-
*/
865-
inline virtual void SetMeshFile(CConfig *config, string val_mesh_out_filename) {}
866-
867-
/*!
868-
* \brief A virtual member.
869-
* \param[in] config - Definition of the particular problem.
870-
* \param[in] val_mesh_out_filename - Name of the output file.
871-
*/
872-
inline virtual void SetMeshFile(CGeometry *geometry, CConfig *config, string val_mesh_out_filename) {}
873-
874860
/*!
875861
* \brief A virtual member.
876862
* \param[in] config - Definition of the particular problem.

Common/include/geometry/CMultiGridGeometry.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class CMultiGridGeometry final : public CGeometry {
4040
public:
4141
/*--- This is to suppress Woverloaded-virtual, omitting it has no negative impact. ---*/
4242
using CGeometry::SetVertex;
43-
using CGeometry::SetMeshFile;
4443
using CGeometry::SetControlVolume;
4544
using CGeometry::SetBoundControlVolume;
4645
using CGeometry::SetPoint_Connectivity;

Common/include/CMultiGridQueue.hpp renamed to Common/include/geometry/CMultiGridQueue.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
#pragma once
3030

3131
#include <vector>
32-
#include "containers/CFastFindAndEraseQueue.hpp"
33-
#include "geometry/CGeometry.hpp"
32+
#include "../containers/CFastFindAndEraseQueue.hpp"
33+
#include "CGeometry.hpp"
3434

3535
using namespace std;
3636

0 commit comments

Comments
 (0)