Boundary flux used for testing. More...
#include <TestBoundaryFlux.h>
Public Member Functions | |
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. More... | |
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. More... | |
virtual void | execute () override |
virtual void | initialize () override |
virtual void | finalize () override |
virtual void | threadJoin (const UserObject &) override |
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. More... | |
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. More... | |
Protected Attributes | |
unsigned int | _cached_flux_elem_id |
element ID of the cached flux values More... | |
unsigned int | _cached_flux_side_id |
side ID of the cached flux values More... | |
unsigned int | _cached_jacobian_elem_id |
element ID of the cached Jacobian values More... | |
unsigned int | _cached_jacobian_side_id |
side ID of the cached Jacobian values More... | |
std::vector< Real > | _flux |
Cached flux. More... | |
DenseMatrix< Real > | _jac1 |
Cached flux Jacobian. More... | |
Boundary flux used for testing.
Definition at line 22 of file TestBoundaryFlux.h.
TestBoundaryFlux::TestBoundaryFlux | ( | const InputParameters & | parameters | ) |
Definition at line 23 of file TestBoundaryFlux.C.
|
overridevirtual |
Solve the Riemann problem on the boundary face.
[in] | iside | local index of current side |
[in] | ielem | global index of the current element |
[in] | uvec1 | vector of variables on the host side |
[in] | dwave | vector of unit normal |
[out] | flux | flux vector for conservation equations |
Implements BoundaryFluxBase.
Definition at line 29 of file TestBoundaryFlux.C.
|
overridevirtual |
Compute the Jacobian matrix on the boundary face.
[in] | iside | local index of current side |
[in] | ielem | global index of the current element |
[in] | uvec1 | vector of variables on the host side |
[in] | dwave | vector of unit normal |
[out] | jac1 | Jacobian matrix contribution |
Implements BoundaryFluxBase.
Definition at line 47 of file TestBoundaryFlux.C.
|
overridevirtualinherited |
Definition at line 39 of file BoundaryFluxBase.C.
|
overridevirtualinherited |
Definition at line 44 of file BoundaryFluxBase.C.
|
virtualinherited |
Get the boundary flux vector.
[in] | iside | local index of current side |
[in] | ielem | global index of the current element |
[in] | uvec1 | vector of variables on the host side |
[in] | dwave | vector of unit normal |
Definition at line 54 of file BoundaryFluxBase.C.
Referenced by BoundaryFluxPostprocessor::computeQpIntegral(), and AEFVBC::computeQpResidual().
|
virtualinherited |
Get the boundary Jacobian matrix.
[in] | iside | local index of current side |
[in] | ielem | global index of the current element |
[in] | uvec1 | vector of variables on the host side |
[in] | dwave | vector of unit normal |
Definition at line 70 of file BoundaryFluxBase.C.
Referenced by AEFVBC::computeQpJacobian().
|
overridevirtualinherited |
Definition at line 30 of file BoundaryFluxBase.C.
|
overridevirtualinherited |
Definition at line 49 of file BoundaryFluxBase.C.
|
mutableprotectedinherited |
element ID of the cached flux values
Definition at line 94 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getFlux(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
side ID of the cached flux values
Definition at line 96 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getFlux(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
element ID of the cached Jacobian values
Definition at line 99 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getJacobian(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
side ID of the cached Jacobian values
Definition at line 101 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getJacobian(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
Cached flux.
Definition at line 104 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getFlux().
|
mutableprotectedinherited |
Cached flux Jacobian.
Definition at line 107 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getJacobian().