bempp.api.external.fenics
¶
Interface to DOLFIN for FEM-BEM coupling.
Module Contents¶
Classes¶
Wrap a FEniCS 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. |
|
Return the NC1 (twisted) tangential trace operator. |
- bempp.api.external.fenics.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.fenics.fenics_to_bempp_trace_data(fenics_space)¶
Return tuple (space,trace_matrix).
- bempp.api.external.fenics.fenics_space_info(fenics_space)¶
Return tuple (family,degree) containing information about a FEniCS space.
- class bempp.api.external.fenics.FenicsOperator(fenics_weak_form)¶
Bases:
object
Wrap a FEniCS Operator into a Bempp operator.
- weak_form()¶
Return the weak form.
- bempp.api.external.fenics.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.
- bempp.api.external.fenics.nc1_tangential_trace(fenics_space)¶
Return the NC1 (twisted) tangential 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.