bempp.api.space.maxwell_spaces

Definition of Maxwell spaces.

Module Contents

Functions

_is_screen(grid)

Check if there is an edge only adjacent to one triangle.

rwg0_function_space(grid[, support_elements, ...])

Define a space of RWG functions of order 0.

rwg0_barycentric_function_space(coarse_space)

Define a space of RWG functions of order 0 over a barycentric grid.

snc0_function_space(grid[, support_elements, ...])

Define a space of SNC functions of order 0.

snc0_barycentric_function_space(coarse_space)

Define a space of SNC functions of order 0 over a barycentric grid.

bc_function_space(grid[, support_elements, segments, ...])

Define a space of BC functions.

rbc_function_space(grid[, support_elements, segments, ...])

Define a space of RBC functions.

_compute_bc_space_data(grid, bary_grid, coarse_space, ...)

Generate the BC map.

_compute_rwg0_space_data(support, edge_neighbors, ...)

Compute the local2global map for the space.

generate_rwg0_map(grid_data, support_elements, ...)

Actually generate the sparse matrix data.

_numba_rwg0_evaluate(element_index, shapeset_evaluate, ...)

Evaluate the basis on an element.

_numba_snc0_evaluate(element_index, shapeset_evaluate, ...)

Evaluate the basis on an element.

_numba_snc0_surface_curl(element_index, ...)

Evaluate the curl on an element.

bempp.api.space.maxwell_spaces._is_screen(grid)

Check if there is an edge only adjacent to one triangle.

bempp.api.space.maxwell_spaces.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.

bempp.api.space.maxwell_spaces.rwg0_barycentric_function_space(coarse_space)

Define a space of RWG functions of order 0 over a barycentric grid.

bempp.api.space.maxwell_spaces.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.

bempp.api.space.maxwell_spaces.snc0_barycentric_function_space(coarse_space)

Define a space of SNC functions of order 0 over a barycentric grid.

bempp.api.space.maxwell_spaces.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.

bempp.api.space.maxwell_spaces.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.

bempp.api.space.maxwell_spaces._compute_bc_space_data(grid, bary_grid, coarse_space, truncate_at_segment_edge, swapped_normals)

Generate the BC map.

bempp.api.space.maxwell_spaces._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.

bempp.api.space.maxwell_spaces.generate_rwg0_map(grid_data, support_elements, local_coords, coeffs)

Actually generate the sparse matrix data.

bempp.api.space.maxwell_spaces._numba_rwg0_evaluate(element_index, shapeset_evaluate, local_coordinates, grid_data, local_multipliers, normal_multipliers)

Evaluate the basis on an element.

bempp.api.space.maxwell_spaces._numba_snc0_evaluate(element_index, shapeset_evaluate, local_coordinates, grid_data, local_multipliers, normal_multipliers)

Evaluate the basis on an element.

bempp.api.space.maxwell_spaces._numba_snc0_surface_curl(element_index, shapeset_gradient, local_coordinates, grid_data, local_multipliers, normal_multipliers)

Evaluate the curl on an element.