Skip to content
Snippets Groups Projects
Commit b81d75b4 authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Normalise include guards

parent 88374d79
No related branches found
No related tags found
No related merge requests found
#ifndef SPECIAL_WRITER_HH #ifndef SRC_SPECIAL_WRITER_HH
#define SPECIAL_WRITER_HH #define SRC_SPECIAL_WRITER_HH
#include <fstream> #include <fstream>
#include <utility> #include <utility>
...@@ -80,5 +80,4 @@ template <class GridView, int dimension> class SpecialWriter { ...@@ -80,5 +80,4 @@ template <class GridView, int dimension> class SpecialWriter {
writer_ << std::endl; writer_ << std::endl;
} }
}; };
#endif #endif
#ifndef SOLVER_FACTORY_HH #ifndef SRC_SOLVERFACTORY_HH
#define SOLVER_FACTORY_HH #define SRC_SOLVERFACTORY_HH
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
#include <dune/common/parametertree.hh> #include <dune/common/parametertree.hh>
...@@ -48,5 +48,4 @@ class SolverFactory { ...@@ -48,5 +48,4 @@ class SolverFactory {
NonlinearSmoother nonlinearSmoother; NonlinearSmoother nonlinearSmoother;
Solver *multigridStep; Solver *multigridStep;
}; };
#endif #endif
#ifndef DUNE_TECTONIC_STATE_HH #ifndef SRC_STATE_HH
#define DUNE_TECTONIC_STATE_HH #define SRC_STATE_HH
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
......
#ifndef DUNE_TECTONIC_TIMESTEPPING_HH #ifndef SRC_TIMESTEPPING_HH
#define DUNE_TECTONIC_TIMESTEPPING_HH #define SRC_TIMESTEPPING_HH
#include "enums.hh" #include "enums.hh"
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
...@@ -47,5 +47,4 @@ initTimeStepper(Config::scheme scheme, ...@@ -47,5 +47,4 @@ initTimeStepper(Config::scheme scheme,
assert(false); assert(false);
} }
} }
#endif #endif
#ifndef DUNE_TECTONIC_TIMESTEPPING_BACKWARD_EULER_HH #ifndef SRC_TIMESTEPPING_BACKWARD_EULER_HH
#define DUNE_TECTONIC_TIMESTEPPING_BACKWARD_EULER_HH #define SRC_TIMESTEPPING_BACKWARD_EULER_HH
template <class Vector, class Matrix, class Function, size_t dim> template <class Vector, class Matrix, class Function, size_t dim>
class BackwardEuler : public TimeSteppingScheme<Vector, Matrix, Function, dim> { class BackwardEuler : public TimeSteppingScheme<Vector, Matrix, Function, dim> {
......
#ifndef DUNE_TECTONIC_TIMESTEPPING_NEWMARK_HH #ifndef SRC_TIMESTEPPING_NEWMARK_HH
#define DUNE_TECTONIC_TIMESTEPPING_NEWMARK_HH #define SRC_TIMESTEPPING_NEWMARK_HH
template <class Vector, class Matrix, class Function, size_t dim> template <class Vector, class Matrix, class Function, size_t dim>
class Newmark : public TimeSteppingScheme<Vector, Matrix, Function, dim> { class Newmark : public TimeSteppingScheme<Vector, Matrix, Function, dim> {
......
#ifndef TO_BOOL_HH #ifndef SRC_TOBOOL_HH
#define TO_BOOL_HH #define SRC_TOBOOL_HH
template <class Alloc> template <class Alloc>
bool toBool(Dune::BitSetVectorConstReference<1, Alloc> x) { bool toBool(Dune::BitSetVectorConstReference<1, Alloc> x) {
return x[0]; return x[0];
} }
#endif #endif
#ifndef VTK_HH #ifndef SRC_VTK_HH
#define VTK_HH #define SRC_VTK_HH
#include <string> #include <string>
...@@ -16,5 +16,4 @@ template <class VertexBasis, class CellBasis> class MyVTKWriter { ...@@ -16,5 +16,4 @@ template <class VertexBasis, class CellBasis> class MyVTKWriter {
void write(size_t record, Vector const &u, Vector const &v, void write(size_t record, Vector const &u, Vector const &v,
ScalarVector const &alpha, ScalarVector const &stress) const; ScalarVector const &alpha, ScalarVector const &stress) const;
}; };
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment