Skip to content
Permalink
Browse files

Merge pull request #13292 from permcody/pragma_once

Pragma once
  • Loading branch information...
rwcarlsen committed Apr 25, 2019
2 parents 8276679 + 2c9e3e8 commit 6cda000c0db2293cc3d9d16622936b02f4c775be
Showing 2,697 changed files with 3,409 additions and 8,268 deletions.
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEAPP_H
#define EXAMPLEAPP_H
#pragma once

#include "MooseApp.h"

@@ -26,4 +25,3 @@ class ExampleApp : public MooseApp
static void registerAll(Factory & f, ActionFactory & af, Syntax & s);
};

#endif /* EXAMPLEAPP_H */
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -72,4 +71,3 @@ class ExampleConvection : public Kernel
RealVectorValue _velocity;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleConvection : public Kernel
const VariableGradient & _grad_some_variable;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef COUPLEDDIRICHLETBC_H
#define COUPLEDDIRICHLETBC_H
#pragma once

#include "NodalBC.h"

@@ -33,4 +32,3 @@ class CoupledDirichletBC : public NodalBC
const VariableValue & _some_var_val;
};

#endif // COUPLEDDIRICHLETBC_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef COUPLEDNEUMANNBC_H
#define COUPLEDNEUMANNBC_H
#pragma once

#include "IntegratedBC.h"

@@ -36,4 +35,3 @@ class CoupledNeumannBC : public IntegratedBC
const VariableValue & _some_var_val;
};

#endif // COUPLEDNEUMANNBC_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleConvection : public Kernel
const VariableGradient & _some_variable;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEGAUSSCONTFORCING_H
#define EXAMPLEGAUSSCONTFORCING_H
#pragma once

#include "Kernel.h"

@@ -42,4 +41,3 @@ class ExampleGaussContForcing : public Kernel
const Real _z_max;
};

#endif // EXAMPLEGAUSSCONTFORCING_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECOEFDIFFUSION_H
#define EXAMPLECOEFDIFFUSION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleCoefDiffusion : public Kernel
private:
Real _coef;
};
#endif // EXAMPLECOEFDIFFUSION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleConvection : public Kernel
const VariableGradient & _some_variable;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleConvection : public Kernel
const VariableGradient & _some_variable;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEDIFFUSION_H
#define EXAMPLEDIFFUSION_H
#pragma once

#include "Diffusion.h"

@@ -33,4 +32,3 @@ class ExampleDiffusion : public Diffusion

Real _diffusivity;
};
#endif // EXAMPLEDIFFUSION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLETIMEDERIVATIVE
#define EXAMPLETIMEDERIVATIVE
#pragma once

#include "TimeDerivative.h"

@@ -30,5 +29,3 @@ class ExampleTimeDerivative : public TimeDerivative

Real _time_coefficient;
};

#endif // EXAMPLETIMEDERIVATIVE
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEIC_H
#define EXAMPLEIC_H
#pragma once

// MOOSE Includes
#include "InitialCondition.h"
@@ -41,4 +40,3 @@ class ExampleIC : public InitialCondition
Real _coefficient;
};

#endif // EXAMPLEIC_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -32,4 +31,3 @@ class ExampleConvection : public Kernel
const MaterialProperty<RealGradient> & _velocity;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEDIFFUSION_H
#define EXAMPLEDIFFUSION_H
#pragma once

#include "Diffusion.h"

@@ -37,4 +36,3 @@ class ExampleDiffusion : public Diffusion
*/
const MaterialProperty<Real> & _diffusivity;
};
#endif // EXAMPLEDIFFUSION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEMATERIAL_H
#define EXAMPLEMATERIAL_H
#pragma once

#include "Material.h"
#include "LinearInterpolation.h"
@@ -41,4 +40,3 @@ class ExampleMaterial : public Material
LinearInterpolation _piecewise_func;
};

#endif // EXAMPLEMATERIAL_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleConvection : public Kernel
const VariableGradient & _some_variable;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEDIFFUSION_H
#define EXAMPLEDIFFUSION_H
#pragma once

#include "Diffusion.h"

@@ -30,4 +29,3 @@ class ExampleDiffusion : public Diffusion
const MaterialProperty<Real> & _diffusivity;
};

#endif // EXAMPLEDIFFUSION_H
@@ -7,10 +7,9 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#pragma once
#include "Material.h"

#ifndef EXAMPLEMATERIAL_H
#define EXAMPLEMATERIAL_H

// Forward Declarations
class ExampleMaterial;
@@ -41,4 +40,3 @@ class ExampleMaterial : public Material
const MaterialProperty<Real> & _diffusivity_old;
};

#endif // EXAMPLEMATERIAL_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEAUX_H
#define EXAMPLEAUX_H
#pragma once

#include "AuxKernel.h"

@@ -38,4 +37,3 @@ class ExampleAux : public AuxKernel
Real _value;
};

#endif // EXAMPLEAUX_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEFUNCTION_H
#define EXAMPLEFUNCTION_H
#pragma once

#include "Function.h"

@@ -28,4 +27,3 @@ class ExampleFunction : public Function
Real _alpha;
};

#endif // EXAMPLEFUNCTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEFUNCTION_H
#define EXAMPLEFUNCTION_H
#pragma once

#include "Function.h"

@@ -28,4 +27,3 @@ class ExampleFunction : public Function
Real _alpha;
};

#endif // EXAMPLEFUNCTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef CONVECTIONDIFFUSIONACTION_H
#define CONVECTIONDIFFUSIONACTION_H
#pragma once

#include "Action.h"

@@ -23,4 +22,3 @@ class ConvectionDiffusionAction : public Action
template <>
InputParameters validParams<ConvectionDiffusionAction>();

#endif // CONVECTIONDIFFUSIONACTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleConvection : public Kernel
const VariableGradient & _some_variable;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLECONVECTION_H
#define EXAMPLECONVECTION_H
#pragma once

#include "Kernel.h"

@@ -31,4 +30,3 @@ class ExampleConvection : public Kernel
const VariableGradient & _some_variable;
};

#endif // EXAMPLECONVECTION_H
@@ -7,8 +7,7 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef EXAMPLEDIFFUSION_H
#define EXAMPLEDIFFUSION_H
#pragma once

#include "Diffusion.h"

@@ -30,4 +29,3 @@ class ExampleDiffusion : public Diffusion
const MaterialProperty<Real> & _diffusivity;
};

#endif // EXAMPLEDIFFUSION_H
Oops, something went wrong.

0 comments on commit 6cda000

Please sign in to comment.
You can’t perform that action at this time.