MFEM
v4.3.0
Finite element discretization library
|
Class representing the storage layout of a QuadratureFunction. More...
#include <fespace.hpp>
Public Member Functions | |
QuadratureSpace (Mesh *mesh_, int order_) | |
Create a QuadratureSpace based on the global rules from IntRules. More... | |
QuadratureSpace (Mesh *mesh_, std::istream &in) | |
Read a QuadratureSpace from the stream in. More... | |
virtual | ~QuadratureSpace () |
int | GetSize () const |
Return the total number of quadrature points. More... | |
int | GetOrder () const |
Return the order of the quadrature rule(s) used by all elements. More... | |
Mesh * | GetMesh () const |
Returns the mesh. More... | |
int | GetNE () const |
Returns number of elements in the mesh. More... | |
const IntegrationRule & | GetElementIntRule (int idx) const |
Get the IntegrationRule associated with mesh element idx. More... | |
void | Save (std::ostream &out) const |
Write the QuadratureSpace to the stream out. More... | |
Protected Member Functions | |
void | Construct () |
Protected Attributes | |
Mesh * | mesh |
int | order |
int | size |
const IntegrationRule * | int_rule [Geometry::NumGeom] |
int * | element_offsets |
Friends | |
class | QuadratureFunction |
Class representing the storage layout of a QuadratureFunction.
Multiple QuadratureFunctions can share the same QuadratureSpace.
Definition at line 909 of file fespace.hpp.
|
inline |
Create a QuadratureSpace based on the global rules from IntRules.
Definition at line 929 of file fespace.hpp.
mfem::QuadratureSpace::QuadratureSpace | ( | Mesh * | mesh_, |
std::istream & | in | ||
) |
Read a QuadratureSpace from the stream in.
Definition at line 3202 of file fespace.cpp.
|
inlinevirtual |
Definition at line 935 of file fespace.hpp.
|
protected |
Definition at line 3179 of file fespace.cpp.
|
inline |
Get the IntegrationRule associated with mesh element idx.
Definition at line 950 of file fespace.hpp.
|
inline |
Returns the mesh.
Definition at line 944 of file fespace.hpp.
|
inline |
Returns number of elements in the mesh.
Definition at line 947 of file fespace.hpp.
|
inline |
Return the order of the quadrature rule(s) used by all elements.
Definition at line 941 of file fespace.hpp.
|
inline |
Return the total number of quadrature points.
Definition at line 938 of file fespace.hpp.
void mfem::QuadratureSpace::Save | ( | std::ostream & | out | ) | const |
Write the QuadratureSpace to the stream out.
Definition at line 3225 of file fespace.cpp.
|
friend |
Definition at line 912 of file fespace.hpp.
|
protected |
Definition at line 919 of file fespace.hpp.
|
protected |
Definition at line 918 of file fespace.hpp.
|
protected |
Definition at line 914 of file fespace.hpp.
|
protected |
Definition at line 915 of file fespace.hpp.
|
protected |
Definition at line 916 of file fespace.hpp.