|
MGIS 3.1.0
|
a minimal implementation of a linear quadrature space More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/BasicLinearQuadratureSpace.hxx>
Classes | |
| struct | DummyCellWorkspace |
| an empty cell workspace, as the cells of this space do not require any information to be accessed More... | |
Public Member Functions | |
| constexpr | BasicLinearQuadratureSpace (const size_type) MGIS_NOEXCEPT |
| constructor | |
| constexpr | BasicLinearQuadratureSpace (BasicLinearQuadratureSpace &&) noexcept |
| move constructor | |
| constexpr | BasicLinearQuadratureSpace (const BasicLinearQuadratureSpace &) MGIS_NOEXCEPT |
| copy constructor | |
| constexpr size_type | size () const MGIS_NOEXCEPT |
| constexpr size_type | getNumberOfCells () const MGIS_NOEXCEPT |
| constexpr size_type | getNumberOfQuadraturePoints (const size_type) const MGIS_NOEXCEPT |
| return the number of quadrature points of a given cell | |
| constexpr DummyCellWorkspace | getCellWorkspace (const size_type) const MGIS_NOEXCEPT |
| return the workspace of a given cell | |
| constexpr size_type | getQuadraturePointOffset (const size_type, const size_type) const MGIS_NOEXCEPT |
| return the offset of a given quadrature point in the space | |
| constexpr | ~BasicLinearQuadratureSpace () noexcept |
| destructor | |
a minimal implementation of a linear quadrature space
The elements of such a space are the quadrature points of all the cells of the space. Given the index e of a cell and the index i of one of its quadrature points, the offset of the corresponding element is e * N + i, which is why no workspace is required to access the cells of the space.
| N | number of integration points per cell, which must be greater than zero |
|
constexpr |
constructor
| [in] | n | number of cells of the space |
|
nodiscardconstexpr |
return the workspace of a given cell
| [in] | e | cell index |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
return the number of quadrature points of a given cell
| [in] | e | cell index |
|
nodiscardconstexpr |
return the offset of a given quadrature point in the space
| [in] | e | cell index |
| [in] | i | quadrature point index of the cell of index e |
|
nodiscardconstexpr |