Implementation of the mgis::function::BasicLinearQuadratureSpace structure and of the functions associated with this space.
More...
|
| namespace | mgis |
| | the namespace mgis encloses all the MGIS project.
|
Implementation of the mgis::function::BasicLinearQuadratureSpace structure and of the functions associated with this space.
- Author
- Thomas Helfer
- Date
- 01/05/2025
◆ areEquivalent()
checks if two spaces are equivalent, i.e. if they have the same number of quadrature points
- Template Parameters
-
| N | number of integration points per cell |
- Parameters
-
| [in] | s | first space |
| [in] | s2 | second space |
- Returns
- true if the two spaces have the same size
◆ getNumberOfCells()
returns the number of cells of the space
forwards the call to the getNumberOfCells member function
- Template Parameters
-
| N | number of integration points per cell |
- Parameters
-
- Returns
- the number of cells of the space
◆ getNumberOfQuadraturePoints()
returns the number of quadrature points of a given cell, which is always N
forwards the call to the getNumberOfQuadraturePoints member function
- Template Parameters
-
| N | number of integration points per cell |
- Parameters
-
| [in] | s | space |
| [in] | e | cell index |
- Returns
- the number of quadrature points of the cell of index e
◆ getQuadraturePointOffset()
returns the offset in the space of a given quadrature point
forwards the call to the getQuadraturePointOffset member function
- Template Parameters
-
| N | number of integration points per cell |
- Parameters
-
| [in] | s | space |
| [in] | e | cell index |
| [in] | i | quadrature point index of the cell of index e |
- Returns
- the offset e * N + i of the quadrature point
◆ getSpaceSize()
returns the size of the space, i.e. the number of quadrature points it contains
forwards the call to the size member function
- Template Parameters
-
| N | number of integration points per cell |
- Parameters
-
- Returns
- the number of elements of the space