30 const std::vector<Real> & solution,
32 std::vector<Real> & flux)
const 34 mooseAssert(solution.size() == 3,
"Solution vector must have exactly 3 entries.");
36 const Real &
A = solution[0];
37 const Real &
B = solution[1];
38 const Real &
C = solution[2];
41 flux[0] = (
A -
B) *
C * normal(0);
42 flux[1] =
A *
B * normal(0);
48 const std::vector<Real> & ,
static InputParameters validParams()
virtual void calcJacobian(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, DenseMatrix< Real > &jac1) const override
Compute the Jacobian matrix on the boundary face.
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, std::vector< Real > &flux) const override
Solve the Riemann problem on the boundary face.
static InputParameters validParams()
A base class for computing/caching fluxes at boundaries.
registerMooseObject("RdgTestApp", TestBoundaryFlux)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
TestBoundaryFlux(const InputParameters ¶meters)
Boundary flux used for testing.
static const std::string C