![]() |
MFEM v4.9.0
Finite element discretization library
|
#include <lor_dg.hpp>
Public Member Functions | |
| template<int ORDER, int SDIM> | |
| void | Assemble2D () |
| template<int ORDER> | |
| void | Assemble3D () |
| BatchedLOR_DG (BilinearForm &a, FiniteElementSpace &fes_ho_, Vector &X_vert_, Vector &sparse_ij_, Array< int > &sparse_mapping_) | |
| Array< int > | GetFaceInfo () const |
| Compute and return the face info array. | |
| Vector | GetBdrPenaltyFactor () const |
| Compute and return the boundary penalty factor. | |
| void | AssembleFaceTerms () |
| Assemble the face penalty terms in the matrix sparse_ij. | |
Definition at line 22 of file lor_dg.hpp.
|
inline |
Definition at line 29 of file lor_dg.hpp.
| void mfem::BatchedLOR_DG::Assemble2D | ( | ) |
Definition at line 165 of file lor_dg_impl.hpp.
| void mfem::BatchedLOR_DG::Assemble3D | ( | ) |
Definition at line 262 of file lor_dg_impl.hpp.
| void mfem::BatchedLOR_DG::AssembleFaceTerms | ( | ) |
Assemble the face penalty terms in the matrix sparse_ij.
Definition at line 113 of file lor_dg_impl.hpp.
| Vector mfem::BatchedLOR_DG::GetBdrPenaltyFactor | ( | ) | const |
Compute and return the boundary penalty factor.
The returned vector has shape (nq, nf), where nq is the number of nodes per face, and nf is the number of faces.
The boundary penalty factor is \(J_f / h = J_f^2 / J_e\) (since \(h = J_e / J_f\)), where \(J_f\) is the face Jacobian determinant, and \(J_e\) is the element Jacobian determinant.
Definition at line 50 of file lor_dg_impl.hpp.
| Array< int > mfem::BatchedLOR_DG::GetFaceInfo | ( | ) | const |
Compute and return the face info array.
The face info array has shape (6, nf), where nf is the number of faces. For each face i, the column (:,i) has entries (e0, f0, o0, e1, f1, o1), where e is adjacent element, f is the local face index, and o is the orientation. For boundary and shared faces, (e1, f1, o1) are all set to -1.
Definition at line 22 of file lor_dg_impl.hpp.