Go to the documentation of this file.
19 params.addClassDescription(
"Boundary flux used for testing");
31 const std::vector<Real> & solution,
32 const RealVectorValue & normal,
33 std::vector<Real> & flux)
const
35 mooseAssert(solution.size() == 3,
"Solution vector must have exactly 3 entries.");
37 const Real & A = solution[0];
38 const Real & B = solution[1];
39 const Real & C = solution[2];
42 flux[0] = (A - B) * C * normal(0);
43 flux[1] = A * B * normal(0);
49 const std::vector<Real> & ,
50 const RealVectorValue & ,
51 DenseMatrix<Real> & )
const
53 mooseError(
"Not implemented.");
registerMooseObject("RdgTestApp", TestBoundaryFlux)
A base class for computing/caching fluxes at boundaries.
InputParameters validParams< TestBoundaryFlux >()
TestBoundaryFlux(const InputParameters ¶meters)
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.
InputParameters validParams< BoundaryFluxBase >()
Boundary flux used for testing.
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.