fix: add header guards to includes

This commit is contained in:
Max Lübke 2023-09-14 11:02:40 +02:00
parent d7608a7330
commit b9c4474f5a
3 changed files with 13 additions and 2 deletions

View File

@ -211,4 +211,4 @@ private:
boundaries; // Vector with Boundary Element information
};
#endif
#endif // BOUNDARY_H_

View File

@ -1,3 +1,6 @@
#ifndef GRID_H_
#define GRID_H_
/**
* @file Grid.hpp
* @brief API of Grid class, that holds a matrix with concenctrations and a
@ -174,3 +177,5 @@ private:
MatrixXd alphaX; // Matrix holding alpha coefficients in x-direction
MatrixXd alphaY; // Matrix holding alpha coefficients in y-direction
};
#endif // GRID_H_

View File

@ -5,8 +5,12 @@
* options. Simulation object also holds a predefined Grid and Boundary object.
*
*/
#ifndef SIMULATION_H_
#define SIMULATION_H_
#include "Boundary.hpp"
#include <ios>
#include "Grid.hpp"
using namespace std;
@ -220,3 +224,5 @@ private:
APPROACH approach;
SOLVER solver;
};
#endif // SIMULATION_H_