Skip to content

Commit

Permalink
Put CppUtils includes into single file. Use again separate includes o…
Browse files Browse the repository at this point in the history
…f headers in algorithm part and testing part
  • Loading branch information
FloSewn committed Jun 9, 2024
1 parent 81577ec commit 5c2cebc
Show file tree
Hide file tree
Showing 57 changed files with 384 additions and 131 deletions.
9 changes: 8 additions & 1 deletion src/algorithm/Boundary.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Error.h"
#include "EdgeList.h"
#include "Edge.h"
#include "Vertex.h"

namespace TQMesh {

Expand Down
6 changes: 5 additions & 1 deletion src/algorithm/Domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Boundary.h"

namespace TQMesh {

Expand Down
8 changes: 7 additions & 1 deletion src/algorithm/Edge.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "utils.h"
#include "Vertex.h"
#include "Facet.h"

namespace TQMesh {

Expand Down
6 changes: 5 additions & 1 deletion src/algorithm/EdgeList.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Edge.h"

namespace TQMesh {

Expand Down
9 changes: 8 additions & 1 deletion src/algorithm/EntityChecks.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"
#include "Triangle.h"
#include "Quad.h"
#include "Facet.h"

namespace TQMesh {

Expand Down
4 changes: 3 additions & 1 deletion src/algorithm/Error.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

namespace TQMesh {

Expand Down
6 changes: 5 additions & 1 deletion src/algorithm/Facet.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"

namespace TQMesh {

Expand Down
6 changes: 5 additions & 1 deletion src/algorithm/FacetGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"

namespace TQMesh {

Expand Down
9 changes: 8 additions & 1 deletion src/algorithm/Front.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "EdgeList.h"
#include "Vertex.h"
#include "Domain.h"
#include "Mesh.h"

namespace TQMesh {

Expand Down
11 changes: 10 additions & 1 deletion src/algorithm/FrontUpdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"
#include "Edge.h"
#include "Triangle.h"
#include "Front.h"
#include "Domain.h"
#include "Mesh.h"

namespace TQMesh {

Expand Down
10 changes: 9 additions & 1 deletion src/algorithm/Mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "utils.h"
#include "Vertex.h"
#include "Triangle.h"
#include "Quad.h"
#include "Facet.h"

namespace TQMesh {

Expand Down
10 changes: 9 additions & 1 deletion src/algorithm/MeshBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "utils.h"
#include "Domain.h"
#include "Mesh.h"
#include "Front.h"
#include "EntityChecks.h"

namespace TQMesh {

Expand Down
9 changes: 8 additions & 1 deletion src/algorithm/MeshChecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Domain.h"
#include "Mesh.h"
#include "MeshCleanup.h"
#include "EntityChecks.h"

namespace TQMesh {

Expand Down
10 changes: 9 additions & 1 deletion src/algorithm/MeshCleanup.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"
#include "Edge.h"
#include "Triangle.h"
#include "Quad.h"
#include "Facet.h"

namespace TQMesh {

Expand Down
16 changes: 15 additions & 1 deletion src/algorithm/MeshGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Domain.h"
#include "Mesh.h"
#include "MeshBuilder.h"
#include "MeshWriter.h"
#include "MeshMerger.h"
#include "MeshingStrategy.h"
#include "SmoothingStrategy.h"
#include "RefinementStrategy.h"
#include "ModificationStrategy.h"
#include "TriangulationStrategy.h"
#include "QuadLayerStrategy.h"

namespace TQMesh {

Expand Down
7 changes: 6 additions & 1 deletion src/algorithm/MeshMerger.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Mesh.h"
#include "MeshCleanup.h"

namespace TQMesh {

Expand Down
7 changes: 6 additions & 1 deletion src/algorithm/MeshWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Mesh.h"
#include "MeshCleanup.h"

namespace TQMesh {

Expand Down
11 changes: 10 additions & 1 deletion src/algorithm/MeshingStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"
#include "Edge.h"
#include "Front.h"
#include "Domain.h"
#include "Mesh.h"
#include "FrontUpdate.h"

namespace TQMesh {

Expand Down
11 changes: 10 additions & 1 deletion src/algorithm/ModificationStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"
#include "Edge.h"
#include "Triangle.h"
#include "Quad.h"
#include "Mesh.h"
#include "Domain.h"

namespace TQMesh {

Expand Down
10 changes: 9 additions & 1 deletion src/algorithm/Quad.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "utils.h"
#include "Vertex.h"
#include "Facet.h"
#include "Domain.h"
#include "FacetGeometry.h"

namespace TQMesh {

Expand Down
15 changes: 14 additions & 1 deletion src/algorithm/QuadLayerStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "utils.h"
#include "Vertex.h"
#include "Edge.h"
#include "Triangle.h"
#include "Quad.h"
#include "Domain.h"
#include "Boundary.h"
#include "Mesh.h"
#include "MeshingStrategy.h"
#include "MeshCleanup.h"

namespace TQMesh {

Expand Down
11 changes: 10 additions & 1 deletion src/algorithm/RefinementStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"
#include "Edge.h"
#include "Triangle.h"
#include "Quad.h"
#include "Mesh.h"
#include "Domain.h"

namespace TQMesh {

Expand Down
8 changes: 7 additions & 1 deletion src/algorithm/SmoothingStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
*/
#pragma once

#include "TQMesh.h"
#include <TQMeshConfig.h>
#include "STLHeaders.h"
#include "CppUtils.h"

#include "Vertex.h"
#include "MeshCleanup.h"
#include "Mesh.h"

namespace TQMesh {

Expand Down
13 changes: 1 addition & 12 deletions src/algorithm/TQMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,8 @@
#pragma once

#include <TQMeshConfig.h>

#include "STLHeaders.h"

#include "VecND.h"
#include "Timer.h"
#include "Geometry.h"
#include "Container.h"
#include "Helpers.h"
#include "MathUtility.h"
#include "Testing.h"
#include "ParaReader.h"
#include "ProgressBar.h"
#include "VtkIO.h"
#include "CppUtils.h"

#include "utils.h"
#include "Error.h"
Expand Down
Loading

0 comments on commit 5c2cebc

Please sign in to comment.