MFEM v4.7.0
Finite element discretization library
|
#include <lor_ams.hpp>
Public Member Functions | |
BatchedLOR_AMS (ParFiniteElementSpace &pfes_ho_, const Vector &X_vert) | |
Construct the BatchedLOR_AMS object associated with the Nedelec space (or RT in 2D) pfes_ho_. | |
void | FormCoordinateVectors (const Vector &X_vert) |
Construct the mesh coordinate vectors (not part of the public API). | |
void | FormGradientMatrix () |
Construct the discrete gradient matrix (not part of the public API). | |
~BatchedLOR_AMS () | |
These functions steal the discrete gradient and coordinate vectors. | |
HypreParMatrix * | StealGradientMatrix () |
Vector * | StealCoordinateVector () |
HypreParVector * | StealXCoordinate () |
HypreParVector * | StealYCoordinate () |
HypreParVector * | StealZCoordinate () |
These functions return the discrete gradient and coordinate vectors. | |
HypreParMatrix * | GetGradientMatrix () const |
HypreParVector * | GetXCoordinate () const |
HypreParVector * | GetYCoordinate () const |
HypreParVector * | GetZCoordinate () const |
Protected Member Functions | |
Construct the local (elementwise) discrete gradient | |
void | Form2DEdgeToVertex (Array< int > &edge2vert) |
void | Form2DEdgeToVertex_ND (Array< int > &edge2vert) |
void | Form2DEdgeToVertex_RT (Array< int > &edge2vert) |
void | Form3DEdgeToVertex (Array< int > &edge2vert) |
Protected Attributes | |
ParFiniteElementSpace & | edge_fes |
The Nedelec space. | |
const int | dim |
Spatial dimension. | |
const int | order |
Polynomial degree. | |
H1_FECollection | vert_fec |
The corresponding H1 collection. | |
ParFiniteElementSpace | vert_fes |
The corresponding H1 space. | |
Vector * | xyz_tvec |
Mesh vertex coordinates in true-vector format. | |
HypreParMatrix * | G |
Discrete gradient matrix. | |
Mesh coordinate vectors in HypreParVector format | |
HypreParVector * | x |
HypreParVector * | y |
HypreParVector * | z |
Definition at line 28 of file lor_ams.hpp.
mfem::BatchedLOR_AMS::BatchedLOR_AMS | ( | ParFiniteElementSpace & | pfes_ho_, |
const Vector & | X_vert ) |
Construct the BatchedLOR_AMS object associated with the Nedelec space (or RT in 2D) pfes_ho_.
The vector X_vert represents the LOR mesh coordinates in E-vector format, see BatchedLORAssembly::GetLORVertexCoordinates.
Definition at line 357 of file lor_ams.cpp.
mfem::BatchedLOR_AMS::~BatchedLOR_AMS | ( | ) |
Definition at line 348 of file lor_ams.cpp.
|
protected |
Definition at line 21 of file lor_ams.cpp.
|
protected |
Definition at line 38 of file lor_ams.cpp.
|
protected |
Definition at line 72 of file lor_ams.cpp.
|
protected |
Definition at line 105 of file lor_ams.cpp.
void mfem::BatchedLOR_AMS::FormCoordinateVectors | ( | const Vector & | X_vert | ) |
Construct the mesh coordinate vectors (not part of the public API).
Definition at line 254 of file lor_ams.cpp.
void mfem::BatchedLOR_AMS::FormGradientMatrix | ( | ) |
Construct the discrete gradient matrix (not part of the public API).
Definition at line 139 of file lor_ams.cpp.
|
inline |
The caller does not assume ownership, and must not delete the returned objects.
Definition at line 78 of file lor_ams.hpp.
|
inline |
Definition at line 79 of file lor_ams.hpp.
|
inline |
Definition at line 80 of file lor_ams.hpp.
|
inline |
Definition at line 81 of file lor_ams.hpp.
Vector * mfem::BatchedLOR_AMS::StealCoordinateVector | ( | ) |
Definition at line 328 of file lor_ams.cpp.
HypreParMatrix * mfem::BatchedLOR_AMS::StealGradientMatrix | ( | ) |
The caller assumes ownership and must delete the returned objects. Subsequent calls will return nullptr.
Definition at line 323 of file lor_ams.cpp.
HypreParVector * mfem::BatchedLOR_AMS::StealXCoordinate | ( | ) |
Definition at line 333 of file lor_ams.cpp.
HypreParVector * mfem::BatchedLOR_AMS::StealYCoordinate | ( | ) |
Definition at line 338 of file lor_ams.cpp.
HypreParVector * mfem::BatchedLOR_AMS::StealZCoordinate | ( | ) |
Definition at line 343 of file lor_ams.cpp.
|
protected |
Spatial dimension.
Definition at line 32 of file lor_ams.hpp.
|
protected |
The Nedelec space.
Definition at line 31 of file lor_ams.hpp.
|
protected |
Discrete gradient matrix.
Definition at line 37 of file lor_ams.hpp.
|
protected |
Polynomial degree.
Definition at line 33 of file lor_ams.hpp.
|
protected |
The corresponding H1 collection.
Definition at line 34 of file lor_ams.hpp.
|
protected |
The corresponding H1 space.
Definition at line 35 of file lor_ams.hpp.
|
protected |
Definition at line 41 of file lor_ams.hpp.
|
protected |
Mesh vertex coordinates in true-vector format.
Definition at line 36 of file lor_ams.hpp.
|
protected |
Definition at line 41 of file lor_ams.hpp.
|
protected |
Definition at line 41 of file lor_ams.hpp.