bempp.api.external.fenicsx
¶
Interface to DOLFINX for FEM-BEM coupling.
Module Contents¶
Classes¶
Wrap a FEniCS-X Operator into a Bempp operator. |
Functions¶
|
Create a Bempp boundary grid from a FEniCS Mesh. |
|
Return tuple (space,trace_matrix). |
|
Return tuple (family,degree) containing information about a FEniCS space. |
|
Return the P1 trace operator. |
- bempp.api.external.fenicsx.boundary_grid_from_fenics_mesh(fenics_mesh)¶
Create a Bempp boundary grid from a FEniCS Mesh.
Return the Bempp grid and a map from the node numberings of the FEniCS mesh to the node numbers of the boundary grid.
- bempp.api.external.fenicsx.fenics_to_bempp_trace_data(fenics_space)¶
Return tuple (space,trace_matrix).
- bempp.api.external.fenicsx.fenics_space_info(fenics_space)¶
Return tuple (family,degree) containing information about a FEniCS space.
- bempp.api.external.fenicsx.p1_trace(fenics_space)¶
Return the P1 trace operator.
This function returns a pair (space, trace_matrix), where space is a Bempp space object and trace_matrix is the corresponding matrix that maps the coefficients of a FEniCS function to its boundary trace coefficients in the corresponding Bempp space.