Go to the documentation of this file.
12 #include "ThreadedGeneralUserObject.h"
35 virtual void execute()
override;
38 virtual void threadJoin(
const UserObject &)
override;
47 virtual const std::vector<Real> &
getFlux(
unsigned int iside,
49 const std::vector<Real> & uvec1,
50 const RealVectorValue & dwave)
const;
60 virtual void calcFlux(
unsigned int iside,
62 const std::vector<Real> & uvec1,
63 const RealVectorValue & dwave,
64 std::vector<Real> & flux)
const = 0;
73 virtual const DenseMatrix<Real> &
getJacobian(
unsigned int iside,
75 const std::vector<Real> & uvec1,
76 const RealVectorValue & dwave)
const;
88 const std::vector<Real> & uvec1,
89 const RealVectorValue & dwave,
90 DenseMatrix<Real> & jac1)
const = 0;
DenseMatrix< Real > _jac1
Cached flux Jacobian.
unsigned int _cached_flux_side_id
side ID of the cached flux values
unsigned int _cached_jacobian_side_id
side ID of the cached Jacobian values
A base class for computing/caching fluxes at boundaries.
virtual const DenseMatrix< Real > & getJacobian(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave) const
Get the boundary Jacobian matrix.
std::vector< Real > _flux
Cached flux.
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, std::vector< Real > &flux) const =0
Solve the Riemann problem on the boundary face.
unsigned int _cached_jacobian_elem_id
element ID of the cached Jacobian values
virtual void finalize() override
BoundaryFluxBase(const InputParameters ¶meters)
virtual void calcJacobian(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, DenseMatrix< Real > &jac1) const =0
Compute the Jacobian matrix on the boundary face.
unsigned int _cached_flux_elem_id
element ID of the cached flux values
virtual void threadJoin(const UserObject &) override
virtual void execute() override
InputParameters validParams< BoundaryFluxBase >()
virtual const std::vector< Real > & getFlux(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave) const
Get the boundary flux vector.
virtual void initialize() override