MFEM
v3.3.2
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 () |
Return the total number of quadrature points. More... | |
const IntegrationRule & | GetElementIntRule (int idx) |
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 386 of file fespace.hpp.
|
inline |
Create a QuadratureSpace based on the global rules from IntRules.
Definition at line 406 of file fespace.hpp.
mfem::QuadratureSpace::QuadratureSpace | ( | Mesh * | mesh_, |
std::istream & | in | ||
) |
Read a QuadratureSpace from the stream in.
Definition at line 1590 of file fespace.cpp.
|
inlinevirtual |
Definition at line 412 of file fespace.hpp.
|
protected |
Definition at line 1567 of file fespace.cpp.
|
inline |
Get the IntegrationRule associated with mesh element idx.
Definition at line 418 of file fespace.hpp.
|
inline |
Return the total number of quadrature points.
Definition at line 415 of file fespace.hpp.
void mfem::QuadratureSpace::Save | ( | std::ostream & | out | ) | const |
Write the QuadratureSpace to the stream out.
Definition at line 1613 of file fespace.cpp.
|
friend |
Definition at line 389 of file fespace.hpp.
|
protected |
Definition at line 396 of file fespace.hpp.
|
protected |
Definition at line 395 of file fespace.hpp.
|
protected |
Definition at line 391 of file fespace.hpp.
|
protected |
Definition at line 392 of file fespace.hpp.
|
protected |
Definition at line 393 of file fespace.hpp.