:py:mod:`bempp.api.space.maxwell_spaces` ======================================== .. py:module:: bempp.api.space.maxwell_spaces .. autoapi-nested-parse:: Definition of Maxwell spaces. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: bempp.api.space.maxwell_spaces._is_screen bempp.api.space.maxwell_spaces.rwg0_function_space bempp.api.space.maxwell_spaces.rwg0_barycentric_function_space bempp.api.space.maxwell_spaces.snc0_function_space bempp.api.space.maxwell_spaces.snc0_barycentric_function_space bempp.api.space.maxwell_spaces.bc_function_space bempp.api.space.maxwell_spaces.rbc_function_space bempp.api.space.maxwell_spaces._compute_bc_space_data bempp.api.space.maxwell_spaces._compute_rwg0_space_data bempp.api.space.maxwell_spaces.generate_rwg0_map bempp.api.space.maxwell_spaces._numba_rwg0_evaluate bempp.api.space.maxwell_spaces._numba_snc0_evaluate bempp.api.space.maxwell_spaces._numba_snc0_surface_curl .. py:function:: _is_screen(grid) Check if there is an edge only adjacent to one triangle. .. py:function:: rwg0_function_space(grid, support_elements=None, segments=None, swapped_normals=None, include_boundary_dofs=False, truncate_at_segment_edge=True) Define a space of RWG functions of order 0. .. py:function:: rwg0_barycentric_function_space(coarse_space) Define a space of RWG functions of order 0 over a barycentric grid. .. py:function:: snc0_function_space(grid, support_elements=None, segments=None, swapped_normals=None, include_boundary_dofs=False, truncate_at_segment_edge=True) Define a space of SNC functions of order 0. .. py:function:: snc0_barycentric_function_space(coarse_space) Define a space of SNC functions of order 0 over a barycentric grid. .. py:function:: bc_function_space(grid, support_elements=None, segments=None, swapped_normals=None, include_boundary_dofs=False, truncate_at_segment_edge=True) Define a space of BC functions. .. py:function:: rbc_function_space(grid, support_elements=None, segments=None, swapped_normals=None, include_boundary_dofs=False, truncate_at_segment_edge=True) Define a space of RBC functions. .. py:function:: _compute_bc_space_data(grid, bary_grid, coarse_space, truncate_at_segment_edge, swapped_normals) Generate the BC map. .. py:function:: _compute_rwg0_space_data(support, edge_neighbors, edge_neighbors_ptr, element_edges, number_of_elements, number_of_edges, include_boundary_dofs, truncate_at_segment_edge) Compute the local2global map for the space. .. py:function:: generate_rwg0_map(grid_data, support_elements, local_coords, coeffs) Actually generate the sparse matrix data. .. py:function:: _numba_rwg0_evaluate(element_index, shapeset_evaluate, local_coordinates, grid_data, local_multipliers, normal_multipliers) Evaluate the basis on an element. .. py:function:: _numba_snc0_evaluate(element_index, shapeset_evaluate, local_coordinates, grid_data, local_multipliers, normal_multipliers) Evaluate the basis on an element. .. py:function:: _numba_snc0_surface_curl(element_index, shapeset_gradient, local_coordinates, grid_data, local_multipliers, normal_multipliers) Evaluate the curl on an element.