bempp_cl.api.operators.boundary.common

Common helpers uses for all boundary operators.

Functions

create_operator(identifier, domain, range_, ...)

Create a generic operator.

create_multitrace_operator(identifier, domain, range_, ...)

Create a generic operator.

pade_coeffs(order, angle)

Calculate the coefficients of the Pade series expansion of the square root.

inv_sqrt_pade_coeffs(order[, angle])

Calculate the coefficients of the Pade series expansion of the inverse square root.

Module Contents

bempp_cl.api.operators.boundary.common.create_operator(identifier, domain, range_, dual_to_range, parameters, assembler, operator_options, kernel_type, assembly_type, device_interface, precision, is_complex)

Create a generic operator.

bempp_cl.api.operators.boundary.common.create_multitrace_operator(identifier, domain, range_, dual_to_range, parameters, assembler, operator_options, multitrace_kernel, singular_contribution, device_interface, precision)

Create a generic operator.

bempp_cl.api.operators.boundary.common.pade_coeffs(order, angle)

Calculate the coefficients of the Pade series expansion of the square root.

Parameters

orderint

The order of the expansion.

anglefloat

The branch-cut angle of the expansion.

Returns

c_0 : complex a_j : numpy.ndarray[complex] b_j : numpy.ndarray[complex] r_0 : complex

The coefficients of the Pade expansion of the square root.

bempp_cl.api.operators.boundary.common.inv_sqrt_pade_coeffs(order, angle=_np.pi / 3)

Calculate the coefficients of the Pade series expansion of the inverse square root.

Parameters

orderint

The order of the expansion.

anglefloat

The branch-cut angle of the expansion (pi/3 is recommended).

Returns

s_j : numpy.ndarray[complex] r_j : numpy.ndarray[complex]

The coefficients of the Pade expansion of the inverse square root.