MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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_.
 
HypreParMatrixStealCurlMatrix ()
 Steal ownership of the discrete curl matrix.
 
HypreParMatrixGetCurlMatrix () const
 Return the discrete curl matrix.
 
BatchedLOR_AMSGetAMS ()
 Return the associated BatchedLOR_AMS object.
 
void FormCurlMatrix ()
 Form the discrete curl matrix (not part of the public API).
 
 ~BatchedLOR_ADS ()
 

Protected Member Functions

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

Protected Attributes

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

Static Protected Attributes

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

Detailed Description

Definition at line 30 of file lor_ads.hpp.

Constructor & Destructor Documentation

◆ BatchedLOR_ADS()

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.

◆ ~BatchedLOR_ADS()

mfem::BatchedLOR_ADS::~BatchedLOR_ADS ( )

Definition at line 189 of file lor_ads.cpp.

Member Function Documentation

◆ Form3DFaceToEdge()

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.

◆ FormCurlMatrix()

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.

◆ GetAMS()

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

Return the associated BatchedLOR_AMS object.

Definition at line 61 of file lor_ads.hpp.

◆ GetCurlMatrix()

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.

◆ StealCurlMatrix()

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

◆ ams

BatchedLOR_AMS mfem::BatchedLOR_ADS::ams
protected

The associated AMS object.

Definition at line 38 of file lor_ads.hpp.

◆ C

HypreParMatrix* mfem::BatchedLOR_ADS::C
protected

The discrete curl matrix.

Definition at line 39 of file lor_ads.hpp.

◆ dim

int mfem::BatchedLOR_ADS::dim = 3
staticconstexprprotected

Spatial dimension, always 3.

Definition at line 34 of file lor_ads.hpp.

◆ edge_fec

ND_FECollection mfem::BatchedLOR_ADS::edge_fec
protected

The associated Nedelec collection.

Definition at line 36 of file lor_ads.hpp.

◆ edge_fes

ParFiniteElementSpace mfem::BatchedLOR_ADS::edge_fes
protected

The associated Nedelec space.

Definition at line 37 of file lor_ads.hpp.

◆ face_fes

ParFiniteElementSpace& mfem::BatchedLOR_ADS::face_fes
protected

The RT space.

Definition at line 33 of file lor_ads.hpp.

◆ order

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: