Electrostatic Equations#

Interface#

class pystopt.electric.interface.ElectricInterface(ambient_dim)[source]#
pystopt.electric.interface.electric_potential(self: ElectricInterface, ...)[source]#
pystopt.electric.interface.electric_field(self: ElectricInterface, ...)[source]#

The electric field is simply \(\mathbf{E} = -\nabla \phi\), where \(\phi\) is the electric potential.

pystopt.electric.interface.normal_electric_field(self: ElectricInterface, ...)[source]#

Layer Potentials#

The TwoPhaseSingleLayerElectricRepresentation class implements pystopt.stokes.StokesInterface functions with the arguments

@electric_field.register(TwoPhaseSingleLayerElectricRepresentation)
def _electric_field(self, density, *, side=None, qbx_forced_limit=None):
    pass

and similar for the other variables.

class pystopt.electric.representations.TwoPhaseSingleLayerElectricRepresentation(ambient_dim, kernel_arguments=None)[source]#

Bases: RepresentationInterface, ElectricInterface

Representation of an electrostatic problem based on a single-layer potential.