bempp.api.assembly.potential_operator
¶
Definition of potential operators.
Module Contents¶
Classes¶
Provides an interface to potential operators. |
|
Scaled potential operator. |
|
Sum of two potential operators. |
- class bempp.api.assembly.potential_operator.PotentialOperator(potential_evaluator)¶
Bases:
object
Provides an interface to potential operators.
This class is not supposed to be instantiated directly.
- property space¶
Return the underlying function space.
- property component_count¶
Return number of components of the potential (1 for scalar potentials).
- property evaluation_points¶
Return the evaluation points.
- evaluate(grid_fun)¶
Apply the potential operator to a grid function.
Parameters¶
- grid_funbempp.api.GridFunction
A GridFunction object that represents the boundary density to which the potential is applied to.
- _is_compatible(other)¶
Check compatibility with other potential operator.
- __add__(obj)¶
Add.
- __mul__(obj)¶
Multiply.
- __matmul__(obj)¶
Multiply.
- __rmul__(obj)¶
Reverse multiply.
- __neg__()¶
Negate.
- __sub__(other)¶
Subtract.
- class bempp.api.assembly.potential_operator._ScaledPotentialOperator(op, alpha)¶
Bases:
PotentialOperator
Scaled potential operator.
- property space¶
Return the underlying function space.
- property component_count¶
Return number of components of the potential (1 for scalar potentials).
- property evaluation_points¶
Return the evaluation points.
- class bempp.api.assembly.potential_operator._SumPotentialOperator(op1, op2)¶
Bases:
PotentialOperator
Sum of two potential operators.
- property space¶
Return the underlying function space.
- property component_count¶
Return number of components of the potential (1 for scalar potentials).
- property evaluation_points¶
Return the evaluation points.