#ifndef ONEDMASSFLUX_H
#define ONEDMASSFLUX_H

#include "Kernel.h"

class OneDMassFlux;

template<>
InputParameters validParams<OneDMassFlux>();

/**
 * Mass flux
 */
class OneDMassFlux : public Kernel
{
public:
  OneDMassFlux(const InputParameters & parameters);
  virtual ~OneDMassFlux();

protected:
  virtual Real computeQpResidual();
  virtual Real computeQpJacobian();
  virtual Real computeQpOffDiagJacobian(unsigned int jvar);

  const VariableValue & _rhouA;
  unsigned int _rhouA_var_number;
};


#endif /* ONEDMASSFLUX_H */

#ifndef ONEDMASSFLUX_H
#define ONEDMASSFLUX_H

#include "Kernel.h"

class OneDMassFlux;

template<>
InputParameters validParams<OneDMassFlux>();

/**
 * Mass flux
 */
class OneDMassFlux : public Kernel
{
public:
  OneDMassFlux(const InputParameters & parameters);
  virtual ~OneDMassFlux();

protected:
  virtual Real computeQpResidual();
  virtual Real computeQpJacobian();
  virtual Real computeQpOffDiagJacobian(unsigned int jvar);

  VariableValue & _rhouA;
  unsigned int _rhouA_var_number;
};


#endif /* ONEDMASSFLUX_H */

--- 
+++ 
@@ -22,7 +22,7 @@
   virtual Real computeQpJacobian();
   virtual Real computeQpOffDiagJacobian(unsigned int jvar);
 
-  VariableValue & _rhouA;
+  const VariableValue & _rhouA;
   unsigned int _rhouA_var_number;
 };
 
Prepare RELAP-7 for MooseVariable::sln() const update.

This set of changes prepares RELAP-7 to work with an upcoming version of
MOOSE in which MooseVariable::sln() returns a const reference.

Refs idaholab/moose#6327.
