Skip to content

Commit

Permalink
Add single include to TQMesh.h in for each header file
Browse files Browse the repository at this point in the history
  • Loading branch information
FloSewn committed Apr 30, 2024
1 parent b0996b6 commit b22295f
Show file tree
Hide file tree
Showing 27 changed files with 28 additions and 195 deletions.
10 changes: 1 addition & 9 deletions src/algorithm/Boundary.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,7 @@
*/
#pragma once

#include "STLHeaders.h"

#include "VecND.h"
#include "Geometry.h"

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

namespace TQMesh {

Expand Down
3 changes: 1 addition & 2 deletions src/algorithm/Domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
*/
#pragma once

#include "STLHeaders.h"
#include "Boundary.h"
#include "TQMesh.h"

namespace TQMesh {

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

#include "STLHeaders.h"

#include "Geometry.h"
#include "VecND.h"
#include "Container.h"

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

namespace TQMesh {

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

#include "STLHeaders.h"

#include "Container.h"
#include "utils.h"
#include "VecND.h"
#include "Geometry.h"

#include "Edge.h"
#include "TQMesh.h"

namespace TQMesh {

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

#include "VecND.h"

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

namespace TQMesh {

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

#include "STLHeaders.h"
#include "TQMesh.h"

namespace TQMesh {

Expand Down
4 changes: 1 addition & 3 deletions src/algorithm/Facet.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
*/
#pragma once

#include "VecND.h"
#include "Vertex.h"
#include "TQMesh.h"

namespace TQMesh {

class Vertex;
class Mesh;

/*********************************************************************
Expand Down
5 changes: 1 addition & 4 deletions src/algorithm/FacetGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
*/
#pragma once

#include "VecND.h"
#include "Geometry.h"

#include "Vertex.h"
#include "TQMesh.h"

namespace TQMesh {

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

#include "STLHeaders.h"

#include "VecND.h"
#include "Geometry.h"

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

namespace TQMesh {

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

#include "STLHeaders.h"

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

#include "TQMesh.h"

namespace TQMesh {

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

#include "STLHeaders.h"

#include "VecND.h"

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

namespace TQMesh {

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

#include "STLHeaders.h"

#include "utils.h"

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

namespace TQMesh {

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

#include "STLHeaders.h"

#include "VecND.h"

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

namespace TQMesh {

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

#include "STLHeaders.h"

#include "VecND.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"
#include "TQMesh.h"

namespace TQMesh {

Expand Down
5 changes: 1 addition & 4 deletions src/algorithm/MeshMerger.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
*/
#pragma once

#include "STLHeaders.h"

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

namespace TQMesh {

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

#include "VecND.h"
#include "VtkIO.h"

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

namespace TQMesh {

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

#include "ProgressBar.h"

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

namespace TQMesh {

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

#include "STLHeaders.h"

#include "VecND.h"

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

namespace TQMesh {

Expand Down
12 changes: 1 addition & 11 deletions src/algorithm/Quad.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@
*/
#pragma once

#include "STLHeaders.h"

#include "VecND.h"
#include "Geometry.h"

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

#include "Domain.h"
#include "FacetGeometry.h"
#include "TQMesh.h"

namespace TQMesh {

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

#include "STLHeaders.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"
#include "TQMesh.h"

namespace TQMesh {

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

#include "STLHeaders.h"

#include "VecND.h"

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

namespace TQMesh {

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

#include "VecND.h"
#include "ProgressBar.h"

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

namespace TQMesh {

Expand Down
2 changes: 2 additions & 0 deletions src/algorithm/TQMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "MathUtility.h"
#include "Testing.h"
#include "ParaReader.h"
#include "ProgressBar.h"
#include "VtkIO.h"

#include "utils.h"
#include "Error.h"
Expand Down
12 changes: 1 addition & 11 deletions src/algorithm/Triangle.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@
*/
#pragma once

#include "STLHeaders.h"

#include "VecND.h"
#include "Geometry.h"

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

#include "Domain.h"
#include "FacetGeometry.h"
#include "TQMesh.h"

namespace TQMesh {

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

#include "STLHeaders.h"

#include "Vertex.h"
#include "Edge.h"
#include "Domain.h"
#include "Mesh.h"
#include "MeshCleanup.h"
#include "MeshingStrategy.h"
#include "EntityChecks.h"
#include "TQMesh.h"

namespace TQMesh {

Expand Down
Loading

0 comments on commit b22295f

Please sign in to comment.