bempp_cl.api.assembly.potential_operator¶
Definition of potential operators.
Classes¶
Provides an interface to potential operators. |
|
Scaled potential operator. |
|
Sum of two potential operators. |
Module Contents¶
- class bempp_cl.api.assembly.potential_operator.PotentialOperator(potential_evaluator)¶
Bases:
objectProvides an interface to potential operators.
This class is not supposed to be instantiated directly.
- _evaluator¶
- evaluate(grid_fun)¶
Apply the potential operator to a grid function.
Parameters¶
- grid_funbempp_cl.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.
- 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_cl.api.assembly.potential_operator._ScaledPotentialOperator(op, alpha)¶
Bases:
PotentialOperatorScaled potential operator.
- _op¶
- _alpha¶
- evaluate(grid_fun)¶
Apply the potential operator to a grid function.
Parameters¶
- grid_funbempp_cl.api.GridFunction
A GridFunction object that represents the boundary density to which the potential is applied to.
- 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_cl.api.assembly.potential_operator._SumPotentialOperator(op1, op2)¶
Bases:
PotentialOperatorSum of two potential operators.
- _op1¶
- _op2¶
- evaluate(grid_fun)¶
Apply the potential operator to a grid function.
Parameters¶
- grid_funbempp_cl.api.GridFunction
A GridFunction object that represents the boundary density to which the potential is applied to.
- 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.