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

Switched to prama once

parent aca2e616
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXADVECTIONACTION_H
#define LYNXADVECTIONACTION_H
#pragma once
#include "Action.h"
......@@ -65,6 +64,4 @@ protected:
std::vector<std::string> _max_entropy_pp;
std::vector<std::string> _min_entropy_pp;
std::vector<std::string> _avg_entropy_pp;
};
#endif // LYNXADVECTIONACTION_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXHOLDSTRESSACTION_H
#define LYNXHOLDSTRESSACTION_H
#pragma once
#include "Action.h"
......@@ -31,6 +30,4 @@ public:
protected:
std::vector<std::vector<AuxVariableName>> _save_in_vars;
std::vector<bool> _has_save_in_vars;
};
#endif // LYNXHOLDSTRESSACTION_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXPRESSUREACTION_H
#define LYNXPRESSUREACTION_H
#pragma once
#include "Action.h"
......@@ -31,6 +30,4 @@ public:
protected:
std::vector<std::vector<AuxVariableName>> _save_in_vars;
std::vector<bool> _has_save_in_vars;
};
#endif // LYNXPRESSUREACTION_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXCOMBOPHASESAUX_H
#define LYNXCOMBOPHASESAUX_H
#pragma once
#include "AuxKernel.h"
......@@ -32,5 +31,3 @@ protected:
unsigned _n_composition;
std::vector<const VariableValue *> _compositional_phases;
};
#endif // LYNXCOMBOPHASESAUX_H
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXEFFECTIVEPRESSUREAUX_H
#define LYNXEFFECTIVEPRESSUREAUX_H
#pragma once
#include "LynxStressAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue() override;
};
#endif // LYNXEFFECTIVEPRESSUREAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXELASTICEQVSTRAINAUX_H
#define LYNXELASTICEQVSTRAINAUX_H
#pragma once
#include "LynxElasticStrainAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue();
};
#endif // LYNXELASTICEQVSTRAINAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXELASTICSTRAINAUXBASE_H
#define LYNXELASTICSTRAINAUXBASE_H
#pragma once
#include "AuxKernel.h"
#include "RankTwoTensor.h"
......@@ -29,6 +28,4 @@ public:
LynxElasticStrainAuxBase(const InputParameters & parameters);
const MaterialProperty<RankTwoTensor> & _elastic_strain;
};
#endif // LYNXELASTICSTRAINAUXBASE_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXELASTICVOLSTRAINAUX_H
#define LYNXELASTICVOLSTRAINAUX_H
#pragma once
#include "LynxElasticStrainAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue();
};
#endif // LYNXELASTICVOLSTRAINAUX_H
};
\ No newline at end of file
......@@ -10,8 +10,8 @@
/* please see LICENSE for details */
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXENTROPYAUX_H
#define LYNXENTROPYAUX_H
#pragma once
#include "AuxKernel.h"
#include "DerivativeMaterialInterface.h"
......@@ -33,6 +33,4 @@ protected:
const PostprocessorValue & _pp_max_var;
const PostprocessorValue & _pp_min_var;
};
#endif // LYNXENTROPY_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXEQVSTRAINAUX_H
#define LYNXEQVSTRAINAUX_H
#pragma once
#include "LynxStrainAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue() override;
};
#endif // LYNXEQVSTRAINAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXEQVSTRAINRATEAUX_H
#define LYNXEQVSTRAINRATEAUX_H
#pragma once
#include "LynxStrainAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue() override;
};
#endif // LYNXEQVSTRAINRATEAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXHEATFLUXAUX_H
#define LYNXHEATFLUXAUX_H
#pragma once
#include "AuxKernel.h"
#include "DerivativeMaterialInterface.h"
......@@ -35,6 +34,4 @@ protected:
const MaterialProperty<Real> & _rhoC_b;
const MaterialProperty<Real> & _thermal_diff;
Real _cond_bulk;
};
#endif // LynxHeatFluxAux_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXPOROSITYAUX_H
#define LYNXPOROSITYAUX_H
#pragma once
#include "AuxKernel.h"
#include "RankTwoTensor.h"
......@@ -40,6 +39,4 @@ protected:
const MaterialProperty<RankTwoTensor> & _strain_increment;
const MaterialProperty<RankTwoTensor> & _inelastic_strain;
const MaterialProperty<RankTwoTensor> & _inelastic_strain_old;
};
#endif // LYNXPOROSITYAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXSTRAINAUX_H
#define LYNXSTRAINAUX_H
#pragma once
#include "LynxStrainAuxBase.h"
......@@ -32,6 +31,4 @@ protected:
private:
const unsigned int _i;
const unsigned int _j;
};
#endif // LYNXSTRAINAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXSTRAINAUXBASE_H
#define LYNXSTRAINAUXBASE_H
#pragma once
#include "AuxKernel.h"
#include "RankTwoTensor.h"
......@@ -33,6 +32,4 @@ protected:
MooseEnum _strain_type;
std::string _strain_name;
const MaterialProperty<RankTwoTensor> * _strain_incr;
};
#endif // LYNXSTRAINAUXBASE_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXSTRAINRATEAUX_H
#define LYNXSTRAINRATEAUX_H
#pragma once
#include "LynxStrainAuxBase.h"
......@@ -32,6 +31,4 @@ protected:
private:
const unsigned int _i;
const unsigned int _j;
};
#endif // LYNXSTRAINRATEAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXSTRAINRATIOAUX_H
#define LYNXSTRAINRATIOAUX_H
#pragma once
#include "LynxElasticStrainAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue();
};
#endif // LYNXSTRAINRATIOAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXSTRESSAUX_H
#define LYNXSTRESSAUX_H
#pragma once
#include "LynxStressAuxBase.h"
......@@ -34,6 +33,4 @@ private:
const VariableValue & _pt;
const unsigned int _i;
const unsigned int _j;
};
#endif // LYNXSTRESSAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXSTRESSAUXBASE_H
#define LYNXSTRESSAUXBASE_H
#pragma once
#include "AuxKernel.h"
#include "RankTwoTensor.h"
......@@ -30,6 +29,4 @@ public:
protected:
const MaterialProperty<RankTwoTensor> & _stress;
};
#endif // LYNXSTRESSAUXBASE_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXTEMPERATURECELSIUSAUX_H
#define LYNXTEMPERATURECELSIUSAUX_H
#pragma once
#include "AuxKernel.h"
......@@ -30,6 +29,4 @@ protected:
virtual Real computeValue() override;
const VariableValue & _T_K;
};
#endif // LYNXTEMPERATURECELSIUSAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXVARIABLERATEAUX_H
#define LYNXVARIABLERATEAUX_H
#pragma once
#include "AuxKernel.h"
#include "DerivativeMaterialInterface.h"
......@@ -34,6 +33,4 @@ protected:
const VariableValue & _cvar_old;
Real _tscale;
bool _relative;
};
#endif // LYNXVARIABLERATEAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXVELOCITYAUX_H
#define LYNXVELOCITYAUX_H
#pragma once
#include "AuxKernel.h"
......@@ -31,6 +30,4 @@ protected:
const VariableValue & _disp;
const VariableValue & _disp_old;
};
#endif // LYNXVELOCITYAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXVELOCITYNORMAUX_H
#define LYNXVELOCITYNORMAUX_H
#pragma once
#include "AuxKernel.h"
......@@ -31,6 +30,4 @@ protected:
unsigned int _n_vel;
std::vector<const VariableValue *> _vel;
};
#endif // LYNXVELOCITYNORMAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXVOLSTRAINAUX_H
#define LYNXVOLSTRAINAUX_H
#pragma once
#include "LynxStrainAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue() override;
};
#endif // LYNXVOLSTRAINAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXVOLSTRAINRATEAUX_H
#define LYNXVOLSTRAINRATEAUX_H
#pragma once
#include "LynxStrainAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue() override;
};
#endif // LYNXVOLSTRAINRATEAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXVONMISESSTRESSAUX_H
#define LYNXVONMISESSTRESSAUX_H
#pragma once
#include "LynxStressAuxBase.h"
......@@ -28,6 +27,4 @@ public:
protected:
virtual Real computeValue() override;
};
#endif // LYNXVONMISESSTRESSAUX_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXAPP_H
#define LYNXAPP_H
#pragma once
#include "MooseApp.h"
......@@ -29,6 +28,4 @@ public:
static void registerApps();
static void registerAll(Factory & f, ActionFactory & af, Syntax & s);
};
#endif /* LYNXAPP_H */
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXHEATFLUXBC_H
#define LYNXHEATFLUXBC_H
#pragma once
#include "IntegratedBC.h"
......@@ -35,6 +34,4 @@ protected:
const Function * _function;
Real _rand_per;
const MaterialProperty<Real> & _rhoC_b;
};
#endif // LYNXHEATFLUXBC_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXHOLDSTRESSBC_H
#define LYNXHOLDSTRESSBC_H
#pragma once
#include "IntegratedBC.h"
......@@ -37,6 +36,4 @@ protected:
const Real _shear_modulus;
const MaterialProperty<RankTwoTensor> & _elastic_strain_old;
const MaterialProperty<Real> & _biot_coeff;
};
#endif // LYNXHOLDSTRESSBC_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXPRESSUREBC_H
#define LYNXPRESSUREBC_H
#pragma once
#include "IntegratedBC.h"
......@@ -33,6 +32,4 @@ protected:
const int _component;
const Real _value;
const Function * _function;
};
#endif // LYNXPRESSUREBC_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXVELOCITYBC_H
#define LYNXVELOCITYBC_H
#pragma once
#include "PresetNodalBC.h"
......@@ -33,6 +32,4 @@ protected:
const VariableValue & _u_old;
const Real & _value;
const Function * _function;
};
#endif // LYNXVELOCITYBC_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXWINKLERBC_H
#define LYNXWINKLERBC_H
#pragma once
#include "IntegratedBC.h"
#include "DerivativeMaterialInterface.h"
......@@ -39,6 +38,4 @@ protected:
const Real _rho_ext;
const Real _g;
const MaterialProperty<Real> & _rho_b;
};
#endif // LYNXWINKLERBC_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXFUNCTIONNOISEIC_H
#define LYNXFUNCTIONNOISEIC_H
#pragma once
#include "InitialCondition.h"
......@@ -34,6 +33,4 @@ protected:
const Function & _func;
Real _rand_per;
};
#endif // LYNXFUNCTIONNOISEIC_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXADVECTIONBASE_H
#define LYNXADVECTIONBASE_H
#pragma once
#include "Kernel.h"
#include "DerivativeMaterialInterface.h"
......@@ -81,6 +80,4 @@ protected:
std::vector<Real> _residual;
Real _artificial_viscosity;
};
#endif // LYNXADVECTIONBASE_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXADVECTIONCOMPOSITION_H
#define LYNXADVECTIONCOMPOSITION_H
#pragma once
#include "LynxAdvectionBase.h"
......@@ -29,6 +28,4 @@ public:
protected:
virtual Real computeArtificialViscosity() override;
virtual void computeEntropyResidual();
};
#endif // LYNXADVECTIONCOMPOSITION_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXADVECTIONTEMPERATURE_H
#define LYNXADVECTIONTEMPERATURE_H
#pragma once
#include "LynxAdvectionBase.h"
......@@ -37,6 +36,4 @@ protected:
const MaterialProperty<Real> & _rhoC;
const MaterialProperty<Real> & _radiogenic_heat;
const MaterialProperty<Real> & _inelastic_heat;
};
#endif // LYNXADVECTIONTEMPERATURE_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXDAMAGERATE_H
#define LYNXDAMAGERATE_H
#pragma once
#include "Kernel.h"
#include "DerivativeMaterialInterface.h"
......@@ -40,6 +39,4 @@ protected:
const VariableValue & _damage_rate;
const MaterialProperty<Real> & _damage_rate_mat;
const MaterialProperty<RankTwoTensor> & _ddamage_rate_dstrain;
};
#endif // LYNXDAMAGERATE_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXHEATCONDUCTION_H
#define LYNXHEATCONDUCTION_H
#pragma once
#include "Kernel.h"
#include "DerivativeMaterialInterface.h"
......@@ -35,6 +34,4 @@ protected:
const MaterialProperty<Real> & _thermal_diff;
const MaterialProperty<Real> & _rho;
const MaterialProperty<Real> & _dinvrho_dtemp;
};
#endif // LYNXHEATCONDUCTION_H
};
\ No newline at end of file
......@@ -11,8 +11,7 @@
/* or http://www.gnu.org/licenses/gpl.html */
/******************************************************************************/
#ifndef LYNXHEATSOURCES_H
#define LYNXHEATSOURCES_H
#pragma once
#include "Kernel.h"
#include "DerivativeMaterialInterface.h"
......@@ -49,6 +4