MFEM v4.7.0
Finite element discretization library
|
#include <hyperbolic.hpp>
Public Member Functions | |
AdvectionFlux (VectorCoefficient &b) | |
Construct a new Advection Flux Function with given spatial dimension. | |
real_t | ComputeFlux (const Vector &state, ElementTransformation &Tr, DenseMatrix &flux) const override |
Compute F(u) | |
Public Member Functions inherited from mfem::FluxFunction | |
FluxFunction (const int num_equations, const int dim) | |
virtual real_t | ComputeFluxDotN (const Vector &state, const Vector &normal, FaceElementTransformations &Tr, Vector &fluxDotN) const |
Compute normal flux. Optionally overloaded in the derived class to avoid creating full dense matrix for flux. | |
virtual void | ComputeFluxJacobian (const Vector &state, ElementTransformation &Tr, DenseTensor &J) const |
Compute flux Jacobian. Optionally overloaded in the derived class when Jacobian is necessary (e.g. Newton iteration, flux limiter) | |
Additional Inherited Members | |
Public Attributes inherited from mfem::FluxFunction | |
const int | num_equations |
const int | dim |
Definition at line 281 of file hyperbolic.hpp.
|
inline |
Construct a new Advection Flux Function with given spatial dimension.
b | velocity coefficient, possibly depends on space |
Definition at line 297 of file hyperbolic.hpp.
|
overridevirtual |
Compute F(u)
state | state (u) at current integration point |
Tr | current element transformation with integration point |
flux | F(u) = ubáµ€ |
Implements mfem::FluxFunction.
Definition at line 225 of file hyperbolic.cpp.