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

#include <lor_ads.hpp>

Collaboration diagram for mfem::BatchedLOR_ADS:
[legend]

Public Member Functions

 BatchedLOR_ADS (ParFiniteElementSpace &pfes_ho_, const Vector &X_vert)
 Construct the BatchedLOR_AMS object associated with the 3D RT space pfes_ho_. More...
 
HypreParMatrixStealCurlMatrix ()
 Steal ownership of the discrete curl matrix. More...
 
HypreParMatrixGetCurlMatrix () const
 Return the discrete curl matrix. More...
 
BatchedLOR_AMSGetAMS ()
 Return the associated BatchedLOR_AMS object. More...
 
void FormCurlMatrix ()
 Form the discrete curl matrix (not part of the public API). More...
 
 ~BatchedLOR_ADS ()
 

Protected Member Functions

void Form3DFaceToEdge (Array< int > &face2edge)
 Form the local elementwise discrete curl matrix. More...
 

Protected Attributes

ParFiniteElementSpaceface_fes
 The RT space. More...
 
const int order
 Polynomial degree. More...
 
ND_FECollection edge_fec
 The associated Nedelec collection. More...
 
ParFiniteElementSpace edge_fes
 The associated Nedelec space. More...
 
BatchedLOR_AMS ams
 The associated AMS object. More...
 
HypreParMatrixC
 The discrete curl matrix. More...
 

Static Protected Attributes

static constexpr int dim = 3
 Spatial dimension, always 3. More...
 

Detailed Description

Definition at line 30 of file lor_ads.hpp.

Constructor & Destructor Documentation

mfem::BatchedLOR_ADS::BatchedLOR_ADS ( ParFiniteElementSpace pfes_ho_,
const Vector X_vert 
)

Construct the BatchedLOR_AMS object associated with the 3D RT space pfes_ho_.

The vector X_vert represents the LOR mesh coordinates in E-vector format, see BatchedLORAssembly::GetLORVertexCoordinates.

Definition at line 21 of file lor_ads.cpp.

mfem::BatchedLOR_ADS::~BatchedLOR_ADS ( )

Definition at line 189 of file lor_ads.cpp.

Member Function Documentation

void mfem::BatchedLOR_ADS::Form3DFaceToEdge ( Array< int > &  face2edge)
protected

Form the local elementwise discrete curl matrix.

Definition at line 33 of file lor_ads.cpp.

void mfem::BatchedLOR_ADS::FormCurlMatrix ( )

Form the discrete curl matrix (not part of the public API).

Definition at line 81 of file lor_ads.cpp.

BatchedLOR_AMS& mfem::BatchedLOR_ADS::GetAMS ( )
inline

Return the associated BatchedLOR_AMS object.

Definition at line 61 of file lor_ads.hpp.

HypreParMatrix* mfem::BatchedLOR_ADS::GetCurlMatrix ( ) const
inline

Return the discrete curl matrix.

The caller does not assume ownership, and must not delete the object.

Definition at line 59 of file lor_ads.hpp.

HypreParMatrix * mfem::BatchedLOR_ADS::StealCurlMatrix ( )

Steal ownership of the discrete curl matrix.

The caller assumes ownership and must delete the object. Subsequent calls will return nullptr.

Definition at line 184 of file lor_ads.cpp.

Member Data Documentation

BatchedLOR_AMS mfem::BatchedLOR_ADS::ams
protected

The associated AMS object.

Definition at line 38 of file lor_ads.hpp.

HypreParMatrix* mfem::BatchedLOR_ADS::C
protected

The discrete curl matrix.

Definition at line 39 of file lor_ads.hpp.

constexpr int mfem::BatchedLOR_ADS::dim = 3
staticprotected

Spatial dimension, always 3.

Definition at line 34 of file lor_ads.hpp.

ND_FECollection mfem::BatchedLOR_ADS::edge_fec
protected

The associated Nedelec collection.

Definition at line 36 of file lor_ads.hpp.

ParFiniteElementSpace mfem::BatchedLOR_ADS::edge_fes
protected

The associated Nedelec space.

Definition at line 37 of file lor_ads.hpp.

ParFiniteElementSpace& mfem::BatchedLOR_ADS::face_fes
protected

The RT space.

Definition at line 33 of file lor_ads.hpp.

const int mfem::BatchedLOR_ADS::order
protected

Polynomial degree.

Definition at line 35 of file lor_ads.hpp.


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