MFEM  v4.4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::ParLORDiscretization Class Reference

Create and assemble a low-order refined version of a ParBilinearForm. More...

#include <lor.hpp>

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

Public Member Functions

 ParLORDiscretization (ParBilinearForm &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...
 
 ParLORDiscretization (ParFiniteElementSpace &fes_ho, int ref_type=BasisType::GaussLobatto)
 Construct a low-order refined version of the ParFiniteElementSpace pfes_ho. More...
 
void AssembleSystem (ParBilinearForm &a_ho, const Array< int > &ess_dofs)
 Assembles the LOR system corresponding to a_ho. More...
 
HypreParMatrixGetAssembledMatrix () const
 Return the assembled LOR operator as a HypreParMatrix. More...
 
ParFiniteElementSpaceGetParFESpace () const
 Return the LOR ParFiniteElementSpace. More...
 
- Public Member Functions inherited from mfem::LORBase
const OperatorHandleGetAssembledSystem () const
 Returns the assembled LOR system. More...
 
const Array< int > & GetDofPermutation () const
 Returns the permutation that maps LOR DOFs to high-order DOFs. More...
 
FiniteElementSpaceGetFESpace () 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
FiniteElementSpacefes_ho
 
Meshmesh
 
FiniteElementCollectionfec
 
FiniteElementSpacefes
 
BilinearForma
 
OperatorHandle A
 
Array< int > perm
 

Detailed Description

Create and assemble a low-order refined version of a ParBilinearForm.

Definition at line 156 of file lor.hpp.

Constructor & Destructor Documentation

mfem::ParLORDiscretization::ParLORDiscretization ( ParBilinearForm 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 ParMesh::MakeRefined).

Definition at line 423 of file lor.cpp.

mfem::ParLORDiscretization::ParLORDiscretization ( ParFiniteElementSpace fes_ho,
int  ref_type = BasisType::GaussLobatto 
)

Construct a low-order refined version of the ParFiniteElementSpace pfes_ho.

The mesh is refined using the refinement type specified by ref_type (see ParMesh::MakeRefined).

Definition at line 431 of file lor.cpp.

Member Function Documentation

void mfem::ParLORDiscretization::AssembleSystem ( ParBilinearForm a_ho,
const Array< int > &  ess_dofs 
)

Assembles the LOR system corresponding to a_ho.

Definition at line 454 of file lor.cpp.

HypreParMatrix & mfem::ParLORDiscretization::GetAssembledMatrix ( ) const

Return the assembled LOR operator as a HypreParMatrix.

Definition at line 462 of file lor.cpp.

ParFiniteElementSpace & mfem::ParLORDiscretization::GetParFESpace ( ) const

Return the LOR ParFiniteElementSpace.

Definition at line 468 of file lor.cpp.


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