MFEM
v4.4.0
Finite element discretization library
|
Create and assemble a low-order refined version of a BilinearForm. More...
#include <lor.hpp>
Public Member Functions | |
LORDiscretization (BilinearForm &a_ho, const Array< int > &ess_tdof_list, int ref_type=BasisType::GaussLobatto) | |
Construct the low-order refined version of a_ho using the given list of essential DOFs. More... | |
LORDiscretization (FiniteElementSpace &fes_ho, int ref_type=BasisType::GaussLobatto) | |
Construct a low-order refined version of the FiniteElementSpace fes_ho. More... | |
void | AssembleSystem (BilinearForm &a_ho, const Array< int > &ess_dofs) |
Assembles the LOR system corresponding to a_ho. More... | |
SparseMatrix & | GetAssembledMatrix () const |
Return the assembled LOR operator as a SparseMatrix. More... | |
Public Member Functions inherited from mfem::LORBase | |
const OperatorHandle & | GetAssembledSystem () const |
Returns the assembled LOR system. More... | |
const Array< int > & | GetDofPermutation () const |
Returns the permutation that maps LOR DOFs to high-order DOFs. More... | |
FiniteElementSpace & | GetFESpace () const |
Returns the low-order refined finite element space. More... | |
~LORBase () | |
Additional Inherited Members | |
Protected Types inherited from mfem::LORBase | |
enum | FESpaceType { H1, ND, RT, L2, INVALID } |
Protected Member Functions inherited from mfem::LORBase | |
void | ConstructLocalDofPermutation (Array< int > &perm_) const |
void | ConstructDofPermutation () const |
bool | HasSameDofNumbering () const |
void | SetupProlongationAndRestriction () |
FESpaceType | GetFESpaceType () const |
Returns the type of finite element space: H1, ND, RT or L2. More... | |
int | GetLOROrder () const |
Returns the order of the LOR space. 1 for H1 or ND, 0 for L2 or RT. More... | |
void | AssembleSystem_ (BilinearForm &a_ho, const Array< int > &ess_dofs) |
LORBase (FiniteElementSpace &fes_ho_) | |
Protected Attributes inherited from mfem::LORBase | |
FiniteElementSpace & | fes_ho |
Mesh * | mesh |
FiniteElementCollection * | fec |
FiniteElementSpace * | fes |
BilinearForm * | a |
OperatorHandle | A |
Array< int > | perm |
Create and assemble a low-order refined version of a BilinearForm.
mfem::LORDiscretization::LORDiscretization | ( | BilinearForm & | a_ho, |
const Array< int > & | ess_tdof_list, | ||
int | ref_type = BasisType::GaussLobatto |
||
) |
Construct the low-order refined version of a_ho using the given list of essential DOFs.
The mesh is refined using the refinement type specified by ref_type (see Mesh::MakeRefined).
mfem::LORDiscretization::LORDiscretization | ( | FiniteElementSpace & | fes_ho, |
int | ref_type = BasisType::GaussLobatto |
||
) |
Construct a low-order refined version of the FiniteElementSpace fes_ho.
The mesh is refined using the refinement type specified by ref_type (see Mesh::MakeRefined).
void mfem::LORDiscretization::AssembleSystem | ( | BilinearForm & | a_ho, |
const Array< int > & | ess_dofs | ||
) |
SparseMatrix & mfem::LORDiscretization::GetAssembledMatrix | ( | ) | const |
Return the assembled LOR operator as a SparseMatrix.