:py:mod:`bempp.api.external.fenics` =================================== .. py:module:: bempp.api.external.fenics .. autoapi-nested-parse:: Interface to DOLFIN for FEM-BEM coupling. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: bempp.api.external.fenics.FenicsOperator Functions ~~~~~~~~~ .. autoapisummary:: bempp.api.external.fenics.boundary_grid_from_fenics_mesh bempp.api.external.fenics.fenics_to_bempp_trace_data bempp.api.external.fenics.fenics_space_info bempp.api.external.fenics.p1_trace bempp.api.external.fenics.nc1_tangential_trace .. py:function:: 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. .. py:function:: fenics_to_bempp_trace_data(fenics_space) Return tuple (space,trace_matrix). .. py:function:: fenics_space_info(fenics_space) Return tuple (family,degree) containing information about a FEniCS space. .. py:class:: FenicsOperator(fenics_weak_form) Bases: :py:obj:`object` Wrap a FEniCS Operator into a Bempp operator. .. py:method:: weak_form() Return the weak form. .. py:function:: 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. .. py:function:: 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.