bempp.api.space.scalar_spaces

Definition of scalar function spaces.

Module Contents

Functions

p0_discontinuous_function_space(grid[, ...])

Define a space of piecewise constant functions.

p0_barycentric_discontinuous_function_space(coarse_space)

Define a space of piecewise constant functions over a barycentric grid.

p1_discontinuous_function_space(grid[, ...])

Define a discontinuous space of piecewise linear functions.

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

Define a space of continuous piecewise linear functions.

p1_barycentric_continuous_function_space(coarse_space)

Define a space of piecewise constant functions over a barycentric grid.

generate_p1_map(grid_data, support_elements, coeffs)

Actually generate the sparse matrix data.

_compute_p1_dof_map(grid_data, support, ...)

Compute the local2global and local_multipliers maps for P1 space.

_numba_p0_surface_gradient(element_index, ...)

Evaluate the surface gradient.

_numba_p1_surface_gradient(element_index, ...)

Evaluate the surface gradient.

bempp.api.space.scalar_spaces.p0_discontinuous_function_space(grid, support_elements=None, segments=None, swapped_normals=None, include_boundary_dofs=None, truncate_at_segment_edge=None)

Define a space of piecewise constant functions.

bempp.api.space.scalar_spaces.p0_barycentric_discontinuous_function_space(coarse_space)

Define a space of piecewise constant functions over a barycentric grid.

bempp.api.space.scalar_spaces.p1_discontinuous_function_space(grid, support_elements=None, segments=None, swapped_normals=None, include_boundary_dofs=None, truncate_at_segment_edge=None)

Define a discontinuous space of piecewise linear functions.

bempp.api.space.scalar_spaces.p1_continuous_function_space(grid, support_elements=None, segments=None, swapped_normals=None, include_boundary_dofs=False, truncate_at_segment_edge=True)

Define a space of continuous piecewise linear functions.

bempp.api.space.scalar_spaces.p1_barycentric_continuous_function_space(coarse_space)

Define a space of piecewise constant functions over a barycentric grid.

bempp.api.space.scalar_spaces.generate_p1_map(grid_data, support_elements, coeffs)

Actually generate the sparse matrix data.

bempp.api.space.scalar_spaces._compute_p1_dof_map(grid_data, support, include_boundary_dofs, truncate_at_segment_edge, vertex_neighbors, index_ptr)

Compute the local2global and local_multipliers maps for P1 space.

bempp.api.space.scalar_spaces._numba_p0_surface_gradient(element_index, shapeset_gradient, local_coordinates, grid_data, local_multipliers, normal_multipliers)

Evaluate the surface gradient.

bempp.api.space.scalar_spaces._numba_p1_surface_gradient(element_index, shapeset_gradient, local_coordinates, grid_data, local_multipliers, normal_multipliers)

Evaluate the surface gradient.