bempp.api.space
¶
Definitions of finite element spaces.
Documentation of the functionality of this module and examples can be found at https://bempp.com/handbook/api/function_spaces.html
Submodules¶
Package Contents¶
Functions¶
|
Initialize a function space. |
- bempp.api.space.function_space(grid, kind, degree, scatter=True, **kwargs)¶
Initialize a function space.
Parameters¶
- gridbempp.Grid
The grid that the space is defined on.
- kindstr
The space type
- degreeint
The polynomial degree of the space
- support_elementsnp.array
The element indices of elements that make up the part of the mesh on which the space is defined.
- segmentslist
The segment numbers of the part of the mesh on which the space is defined.
- swapped_normalsbool
TODO
- scatterbool
TODO
- include_boundary_dofsbool
Should degrees of freedom on the boundary of the grid segments be included?
- truncate_at_segment_edgebool
Should basis functions be truncated at the edge of the grid segment? If this is set to true, continuous spaces will no longer be continuous across the segment edge.