#pragma once

#include "Function.h"
#include "FunctionInterface.h"

class MMSTestFunc;

template <>
InputParameters validParams<MMSTestFunc>();

/**
 *  Function of RHS for manufactured solution in spatial_constant_helmholtz test
 */
class MMSTestFunc : public Function, public FunctionInterface
{
public:
  MMSTestFunc(const InputParameters & parameters);

  virtual Real value(Real t, const Point & p) const override;

protected:
  Real _length;

  const Function & _a;
  const Function & _b;

  Real _d;
  Real _h;

  Real _g_0_real;
  Real _g_0_imag;

  Real _g_l_real;
  Real _g_l_imag;

  MooseEnum _component;

};

#ifndef MMSTESTFUNC_H
#define MMSTESTFUNC_H

#include "Function.h"
#include "FunctionInterface.h"

class MMSTestFunc;

template <>
InputParameters validParams<MMSTestFunc>();

/**
 *  Function of RHS for manufactured solution in spatial_constant_helmholtz test
 */
class MMSTestFunc : public Function, public FunctionInterface
{
public:
  MMSTestFunc(const InputParameters & parameters);

  virtual Real value(Real t, const Point & p) const override;

protected:
  Real _length;

  const Function & _a;
  const Function & _b;

  Real _d;
  Real _h;

  Real _g_0_real;
  Real _g_0_imag;

  Real _g_l_real;
  Real _g_l_imag;

  MooseEnum _component;

};

#endif // MMSTESTFUNC_H

--- 
+++ 
@@ -1,5 +1,4 @@
-#ifndef MMSTESTFUNC_H
-#define MMSTESTFUNC_H
+#pragma once
 
 #include "Function.h"
 #include "FunctionInterface.h"
@@ -37,5 +36,3 @@
   MooseEnum _component;
 
 };
-
-#endif // MMSTESTFUNC_H
Convert to pragma once in test functions

refs #21085
