MFEM v4.7.0
Finite element discretization library
|
#include <lor_ads.hpp>
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_. | |
HypreParMatrix * | StealCurlMatrix () |
Steal ownership of the discrete curl matrix. | |
HypreParMatrix * | GetCurlMatrix () const |
Return the discrete curl matrix. | |
BatchedLOR_AMS & | GetAMS () |
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 | |
ParFiniteElementSpace & | face_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. | |
HypreParMatrix * | C |
The discrete curl matrix. | |
Static Protected Attributes | |
static constexpr int | dim = 3 |
Spatial dimension, always 3. | |
Definition at line 30 of file lor_ads.hpp.
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.
|
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.
|
inline |
Return the associated BatchedLOR_AMS object.
Definition at line 61 of file lor_ads.hpp.
|
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.
|
protected |
The associated AMS object.
Definition at line 38 of file lor_ads.hpp.
|
protected |
The discrete curl matrix.
Definition at line 39 of file lor_ads.hpp.
|
staticconstexprprotected |
Spatial dimension, always 3.
Definition at line 34 of file lor_ads.hpp.
|
protected |
The associated Nedelec collection.
Definition at line 36 of file lor_ads.hpp.
|
protected |
The associated Nedelec space.
Definition at line 37 of file lor_ads.hpp.
|
protected |
The RT space.
Definition at line 33 of file lor_ads.hpp.
|
protected |
Polynomial degree.
Definition at line 35 of file lor_ads.hpp.