MFEM v4.9.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::BatchedLOR_DG Class Reference

#include <lor_dg.hpp>

Inheritance diagram for mfem::BatchedLOR_DG:
[legend]
Collaboration diagram for mfem::BatchedLOR_DG:
[legend]

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.
 

Detailed Description

Definition at line 22 of file lor_dg.hpp.

Constructor & Destructor Documentation

◆ BatchedLOR_DG()

mfem::BatchedLOR_DG::BatchedLOR_DG ( BilinearForm & a,
FiniteElementSpace & fes_ho_,
Vector & X_vert_,
Vector & sparse_ij_,
Array< int > & sparse_mapping_ )
inline

Definition at line 29 of file lor_dg.hpp.

Member Function Documentation

◆ Assemble2D()

template<int ORDER, int SDIM>
void mfem::BatchedLOR_DG::Assemble2D ( )

Definition at line 165 of file lor_dg_impl.hpp.

◆ Assemble3D()

template<int ORDER>
void mfem::BatchedLOR_DG::Assemble3D ( )

Definition at line 262 of file lor_dg_impl.hpp.

◆ AssembleFaceTerms()

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.

◆ GetBdrPenaltyFactor()

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.

◆ GetFaceInfo()

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.


The documentation for this class was generated from the following files: