![]() |
MFEM v4.8.0
Finite element discretization library
|
Burgers flux. More...
#include <hyperbolic.hpp>
Public Member Functions | |
| BurgersFlux (const int dim) | |
| Construct BurgersFlux FluxFunction with given spatial dimension. | |
| real_t | ComputeFlux (const Vector &state, ElementTransformation &Tr, DenseMatrix &flux) const override |
| Compute F(u) | |
| real_t | ComputeFluxDotN (const Vector &state, const Vector &normal, FaceElementTransformations &Tr, Vector &fluxDotN) const override |
| Compute F(u) n. | |
| real_t | ComputeAvgFlux (const Vector &state1, const Vector &state2, ElementTransformation &Tr, DenseMatrix &flux) const override |
| Compute average flux F̄(u) | |
| real_t | ComputeAvgFluxDotN (const Vector &state1, const Vector &state2, const Vector &normal, FaceElementTransformations &Tr, Vector &fluxDotN) const override |
| Compute average flux F̄(u) n. | |
| void | ComputeFluxJacobian (const Vector &state, ElementTransformation &Tr, DenseTensor &J) const override |
| Compute J(u) | |
| void | ComputeFluxJacobianDotN (const Vector &state, const Vector &normal, ElementTransformation &Tr, DenseMatrix &JDotN) const override |
| Compute J(u) n. | |
Public Member Functions inherited from mfem::FluxFunction | |
| FluxFunction (const int num_equations, const int dim) | |
| virtual | ~FluxFunction () |
Additional Inherited Members | |
Public Attributes inherited from mfem::FluxFunction | |
| const int | num_equations |
| const int | dim |
Burgers flux.
Definition at line 739 of file hyperbolic.hpp.
|
inline |
Construct BurgersFlux FluxFunction with given spatial dimension.
| dim | spatial dimension |
Definition at line 747 of file hyperbolic.hpp.
|
overridevirtual |
Compute average flux F̄(u)
| state1 | state value (u⁻) of the beginning of the interval |
| state2 | state value (u⁺) of the end of the interval |
| Tr | current element transformation with the integration point |
| flux | F̄(u) = (u⁻²+u⁻*u⁺+u⁺²)/6*1ᵀ where 1 is (dim) vector |
Reimplemented from mfem::FluxFunction.
Definition at line 873 of file hyperbolic.cpp.
|
overridevirtual |
Compute average flux F̄(u) n.
| state1 | state value (u⁻) of the beginning of the interval |
| state2 | state value (u⁺) of the end of the interval |
| normal | normal vector, usually not a unit vector |
| Tr | current element transformation with the integration point |
| fluxDotN | F̄(u) n = (u⁻²+u⁻*u⁺+u⁺²)/6*(1ᵀn) where 1 is (dim) vector |
Reimplemented from mfem::FluxFunction.
Definition at line 882 of file hyperbolic.cpp.
|
overridevirtual |
Compute F(u)
| state | state (u) at current integration point |
| Tr | current element transformation with the integration point |
| flux | F(u) = ½u²*1ᵀ where 1 is (dim) vector |
Implements mfem::FluxFunction.
Definition at line 856 of file hyperbolic.cpp.
|
overridevirtual |
Compute F(u) n.
| state | state (u) at current integration point |
| normal | normal vector, usually not a unit vector |
| Tr | current element transformation with the integration point |
| fluxDotN | F(u) n = ½u²*(1ᵀn) where 1 is (dim) vector |
Reimplemented from mfem::FluxFunction.
Definition at line 864 of file hyperbolic.cpp.
|
overridevirtual |
Compute J(u)
| state | state (u) at current integration point |
| Tr | current element transformation with the integration point |
| J | J(u) = diag(u*1) where 1 is (dim) vector |
Reimplemented from mfem::FluxFunction.
Definition at line 892 of file hyperbolic.cpp.
|
overridevirtual |
Compute J(u) n.
| state | state (u) at current integration point |
| normal | normal vector, usually not a unit vector |
| Tr | current element transformation with the integration point |
| JDotN | J(u) n = u*(1ᵀn) where 1 is (dim) vector |
Reimplemented from mfem::FluxFunction.
Definition at line 903 of file hyperbolic.cpp.