Skip to content
Snippets Groups Projects
Commit 2e1a2453 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

replace #pragma once with include guard

parent 26c27df7
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@
*
*/
#pragma once
#ifndef MATERIALLIB_FRACTURE_CREATELINEARELASTICISOTROPIC_H_
#define MATERIALLIB_FRACTURE_CREATELINEARELASTICISOTROPIC_H_
#include "ProcessLib/Utils/ProcessUtils.h" // required for findParameter
#include "FractureModelBase.h"
......@@ -25,3 +26,5 @@ createLinearElasticIsotropic(
} // namespace Fracture
} // namespace MaterialLib
#endif
......@@ -7,7 +7,8 @@
*
*/
#pragma once
#ifndef MATERIALLIB_FRACTURE_CREATEMOHRCOULOMB_H_
#define MATERIALLIB_FRACTURE_CREATEMOHRCOULOMB_H_
#include "ProcessLib/Utils/ProcessUtils.h" // required for findParameter
#include "FractureModelBase.h"
......@@ -26,3 +27,4 @@ createMohrCoulomb(
} // namespace Fracture
} // namespace MaterialLib
#endif
......@@ -7,7 +7,8 @@
*
*/
#pragma once
#ifndef MATERIALLIB_FRACTURE_FRACTUREMODELBASE_H_
#define MATERIALLIB_FRACTURE_FRACTUREMODELBASE_H_
#include <Eigen/Eigen>
......@@ -54,3 +55,4 @@ public:
} // namespace Fracture
} // namespace MaterialLib
#endif
......@@ -7,7 +7,8 @@
*
*/
#pragma once
#ifndef MATERIALLIB_FRACTURE_LINEARELASTICISOTROPIC_H_
#define MATERIALLIB_FRACTURE_LINEARELASTICISOTROPIC_H_
#include <Eigen/Eigen>
......@@ -71,3 +72,4 @@ extern template class LinearElasticIsotropic<3>;
} // namespace Fractrue
} // namespace MaterialLib
#endif
......@@ -7,7 +7,8 @@
*
*/
#pragma once
#ifndef MATERIALLIB_FRACTURE_MOHRCOULOMB_H_
#define MATERIALLIB_FRACTURE_MOHRCOULOMB_H_
#include <Eigen/Eigen>
......@@ -20,9 +21,6 @@ namespace MaterialLib
namespace Fracture
{
/**
* Mohr-Coulomb fracture model
*/
template <int DisplacementDim>
class MohrCoulomb final : public FractureModelBase<DisplacementDim>
{
......@@ -84,3 +82,4 @@ extern template class MohrCoulomb<3>;
} // namespace Fractrue
} // namespace MaterialLib
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment