Commit 5c1100b6 authored by Antoine Jacquey's avatar Antoine Jacquey

Switched to prama once

parent aca2e616
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXADVECTIONACTION_H #pragma once
#define LYNXADVECTIONACTION_H
#include "Action.h" #include "Action.h"
...@@ -65,6 +64,4 @@ protected: ...@@ -65,6 +64,4 @@ protected:
std::vector<std::string> _max_entropy_pp; std::vector<std::string> _max_entropy_pp;
std::vector<std::string> _min_entropy_pp; std::vector<std::string> _min_entropy_pp;
std::vector<std::string> _avg_entropy_pp; std::vector<std::string> _avg_entropy_pp;
}; };
\ No newline at end of file
#endif // LYNXADVECTIONACTION_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXHOLDSTRESSACTION_H #pragma once
#define LYNXHOLDSTRESSACTION_H
#include "Action.h" #include "Action.h"
...@@ -31,6 +30,4 @@ public: ...@@ -31,6 +30,4 @@ public:
protected: protected:
std::vector<std::vector<AuxVariableName>> _save_in_vars; std::vector<std::vector<AuxVariableName>> _save_in_vars;
std::vector<bool> _has_save_in_vars; std::vector<bool> _has_save_in_vars;
}; };
\ No newline at end of file
#endif // LYNXHOLDSTRESSACTION_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXPRESSUREACTION_H #pragma once
#define LYNXPRESSUREACTION_H
#include "Action.h" #include "Action.h"
...@@ -31,6 +30,4 @@ public: ...@@ -31,6 +30,4 @@ public:
protected: protected:
std::vector<std::vector<AuxVariableName>> _save_in_vars; std::vector<std::vector<AuxVariableName>> _save_in_vars;
std::vector<bool> _has_save_in_vars; std::vector<bool> _has_save_in_vars;
}; };
\ No newline at end of file
#endif // LYNXPRESSUREACTION_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXCOMBOPHASESAUX_H #pragma once
#define LYNXCOMBOPHASESAUX_H
#include "AuxKernel.h" #include "AuxKernel.h"
...@@ -32,5 +31,3 @@ protected: ...@@ -32,5 +31,3 @@ protected:
unsigned _n_composition; unsigned _n_composition;
std::vector<const VariableValue *> _compositional_phases; std::vector<const VariableValue *> _compositional_phases;
}; };
#endif // LYNXCOMBOPHASESAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXEFFECTIVEPRESSUREAUX_H #pragma once
#define LYNXEFFECTIVEPRESSUREAUX_H
#include "LynxStressAuxBase.h" #include "LynxStressAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue() override; virtual Real computeValue() override;
}; };
\ No newline at end of file
#endif // LYNXEFFECTIVEPRESSUREAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXELASTICEQVSTRAINAUX_H #pragma once
#define LYNXELASTICEQVSTRAINAUX_H
#include "LynxElasticStrainAuxBase.h" #include "LynxElasticStrainAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue(); virtual Real computeValue();
}; };
\ No newline at end of file
#endif // LYNXELASTICEQVSTRAINAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXELASTICSTRAINAUXBASE_H #pragma once
#define LYNXELASTICSTRAINAUXBASE_H
#include "AuxKernel.h" #include "AuxKernel.h"
#include "RankTwoTensor.h" #include "RankTwoTensor.h"
...@@ -29,6 +28,4 @@ public: ...@@ -29,6 +28,4 @@ public:
LynxElasticStrainAuxBase(const InputParameters & parameters); LynxElasticStrainAuxBase(const InputParameters & parameters);
const MaterialProperty<RankTwoTensor> & _elastic_strain; const MaterialProperty<RankTwoTensor> & _elastic_strain;
}; };
\ No newline at end of file
#endif // LYNXELASTICSTRAINAUXBASE_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXELASTICVOLSTRAINAUX_H #pragma once
#define LYNXELASTICVOLSTRAINAUX_H
#include "LynxElasticStrainAuxBase.h" #include "LynxElasticStrainAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue(); virtual Real computeValue();
}; };
\ No newline at end of file
#endif // LYNXELASTICVOLSTRAINAUX_H
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
/* please see LICENSE for details */ /* please see LICENSE for details */
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXENTROPYAUX_H
#define LYNXENTROPYAUX_H #pragma once
#include "AuxKernel.h" #include "AuxKernel.h"
#include "DerivativeMaterialInterface.h" #include "DerivativeMaterialInterface.h"
...@@ -33,6 +33,4 @@ protected: ...@@ -33,6 +33,4 @@ protected:
const PostprocessorValue & _pp_max_var; const PostprocessorValue & _pp_max_var;
const PostprocessorValue & _pp_min_var; const PostprocessorValue & _pp_min_var;
}; };
\ No newline at end of file
#endif // LYNXENTROPY_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXEQVSTRAINAUX_H #pragma once
#define LYNXEQVSTRAINAUX_H
#include "LynxStrainAuxBase.h" #include "LynxStrainAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue() override; virtual Real computeValue() override;
}; };
\ No newline at end of file
#endif // LYNXEQVSTRAINAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXEQVSTRAINRATEAUX_H #pragma once
#define LYNXEQVSTRAINRATEAUX_H
#include "LynxStrainAuxBase.h" #include "LynxStrainAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue() override; virtual Real computeValue() override;
}; };
\ No newline at end of file
#endif // LYNXEQVSTRAINRATEAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXHEATFLUXAUX_H #pragma once
#define LYNXHEATFLUXAUX_H
#include "AuxKernel.h" #include "AuxKernel.h"
#include "DerivativeMaterialInterface.h" #include "DerivativeMaterialInterface.h"
...@@ -35,6 +34,4 @@ protected: ...@@ -35,6 +34,4 @@ protected:
const MaterialProperty<Real> & _rhoC_b; const MaterialProperty<Real> & _rhoC_b;
const MaterialProperty<Real> & _thermal_diff; const MaterialProperty<Real> & _thermal_diff;
Real _cond_bulk; Real _cond_bulk;
}; };
\ No newline at end of file
#endif // LynxHeatFluxAux_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXPOROSITYAUX_H #pragma once
#define LYNXPOROSITYAUX_H
#include "AuxKernel.h" #include "AuxKernel.h"
#include "RankTwoTensor.h" #include "RankTwoTensor.h"
...@@ -40,6 +39,4 @@ protected: ...@@ -40,6 +39,4 @@ protected:
const MaterialProperty<RankTwoTensor> & _strain_increment; const MaterialProperty<RankTwoTensor> & _strain_increment;
const MaterialProperty<RankTwoTensor> & _inelastic_strain; const MaterialProperty<RankTwoTensor> & _inelastic_strain;
const MaterialProperty<RankTwoTensor> & _inelastic_strain_old; const MaterialProperty<RankTwoTensor> & _inelastic_strain_old;
}; };
\ No newline at end of file
#endif // LYNXPOROSITYAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXSTRAINAUX_H #pragma once
#define LYNXSTRAINAUX_H
#include "LynxStrainAuxBase.h" #include "LynxStrainAuxBase.h"
...@@ -32,6 +31,4 @@ protected: ...@@ -32,6 +31,4 @@ protected:
private: private:
const unsigned int _i; const unsigned int _i;
const unsigned int _j; const unsigned int _j;
}; };
\ No newline at end of file
#endif // LYNXSTRAINAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXSTRAINAUXBASE_H #pragma once
#define LYNXSTRAINAUXBASE_H
#include "AuxKernel.h" #include "AuxKernel.h"
#include "RankTwoTensor.h" #include "RankTwoTensor.h"
...@@ -33,6 +32,4 @@ protected: ...@@ -33,6 +32,4 @@ protected:
MooseEnum _strain_type; MooseEnum _strain_type;
std::string _strain_name; std::string _strain_name;
const MaterialProperty<RankTwoTensor> * _strain_incr; const MaterialProperty<RankTwoTensor> * _strain_incr;
}; };
\ No newline at end of file
#endif // LYNXSTRAINAUXBASE_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXSTRAINRATEAUX_H #pragma once
#define LYNXSTRAINRATEAUX_H
#include "LynxStrainAuxBase.h" #include "LynxStrainAuxBase.h"
...@@ -32,6 +31,4 @@ protected: ...@@ -32,6 +31,4 @@ protected:
private: private:
const unsigned int _i; const unsigned int _i;
const unsigned int _j; const unsigned int _j;
}; };
\ No newline at end of file
#endif // LYNXSTRAINRATEAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXSTRAINRATIOAUX_H #pragma once
#define LYNXSTRAINRATIOAUX_H
#include "LynxElasticStrainAuxBase.h" #include "LynxElasticStrainAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue(); virtual Real computeValue();
}; };
\ No newline at end of file
#endif // LYNXSTRAINRATIOAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXSTRESSAUX_H #pragma once
#define LYNXSTRESSAUX_H
#include "LynxStressAuxBase.h" #include "LynxStressAuxBase.h"
...@@ -34,6 +33,4 @@ private: ...@@ -34,6 +33,4 @@ private:
const VariableValue & _pt; const VariableValue & _pt;
const unsigned int _i; const unsigned int _i;
const unsigned int _j; const unsigned int _j;
}; };
\ No newline at end of file
#endif // LYNXSTRESSAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXSTRESSAUXBASE_H #pragma once
#define LYNXSTRESSAUXBASE_H
#include "AuxKernel.h" #include "AuxKernel.h"
#include "RankTwoTensor.h" #include "RankTwoTensor.h"
...@@ -30,6 +29,4 @@ public: ...@@ -30,6 +29,4 @@ public:
protected: protected:
const MaterialProperty<RankTwoTensor> & _stress; const MaterialProperty<RankTwoTensor> & _stress;
}; };
\ No newline at end of file
#endif // LYNXSTRESSAUXBASE_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXTEMPERATURECELSIUSAUX_H #pragma once
#define LYNXTEMPERATURECELSIUSAUX_H
#include "AuxKernel.h" #include "AuxKernel.h"
...@@ -30,6 +29,4 @@ protected: ...@@ -30,6 +29,4 @@ protected:
virtual Real computeValue() override; virtual Real computeValue() override;
const VariableValue & _T_K; const VariableValue & _T_K;
}; };
\ No newline at end of file
#endif // LYNXTEMPERATURECELSIUSAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXVARIABLERATEAUX_H #pragma once
#define LYNXVARIABLERATEAUX_H
#include "AuxKernel.h" #include "AuxKernel.h"
#include "DerivativeMaterialInterface.h" #include "DerivativeMaterialInterface.h"
...@@ -34,6 +33,4 @@ protected: ...@@ -34,6 +33,4 @@ protected:
const VariableValue & _cvar_old; const VariableValue & _cvar_old;
Real _tscale; Real _tscale;
bool _relative; bool _relative;
}; };
\ No newline at end of file
#endif // LYNXVARIABLERATEAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXVELOCITYAUX_H #pragma once
#define LYNXVELOCITYAUX_H
#include "AuxKernel.h" #include "AuxKernel.h"
...@@ -31,6 +30,4 @@ protected: ...@@ -31,6 +30,4 @@ protected:
const VariableValue & _disp; const VariableValue & _disp;
const VariableValue & _disp_old; const VariableValue & _disp_old;
}; };
\ No newline at end of file
#endif // LYNXVELOCITYAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXVELOCITYNORMAUX_H #pragma once
#define LYNXVELOCITYNORMAUX_H
#include "AuxKernel.h" #include "AuxKernel.h"
...@@ -31,6 +30,4 @@ protected: ...@@ -31,6 +30,4 @@ protected:
unsigned int _n_vel; unsigned int _n_vel;
std::vector<const VariableValue *> _vel; std::vector<const VariableValue *> _vel;
}; };
\ No newline at end of file
#endif // LYNXVELOCITYNORMAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXVOLSTRAINAUX_H #pragma once
#define LYNXVOLSTRAINAUX_H
#include "LynxStrainAuxBase.h" #include "LynxStrainAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue() override; virtual Real computeValue() override;
}; };
\ No newline at end of file
#endif // LYNXVOLSTRAINAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXVOLSTRAINRATEAUX_H #pragma once
#define LYNXVOLSTRAINRATEAUX_H
#include "LynxStrainAuxBase.h" #include "LynxStrainAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue() override; virtual Real computeValue() override;
}; };
\ No newline at end of file
#endif // LYNXVOLSTRAINRATEAUX_H
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */ /* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/ /******************************************************************************/
#ifndef LYNXVONMISESSTRESSAUX_H #pragma once
#define LYNXVONMISESSTRESSAUX_H
#include "LynxStressAuxBase.h" #include "LynxStressAuxBase.h"
...@@ -28,6 +27,4 @@ public: ...@@ -28,6 +27,4 @@ public:
protected: protected:
virtual Real computeValue() override;