DirichletBoundaryCondition

class DirichletBoundaryCondition(value=None)

A Dirichlet type boundary condition.

Parameters:value (PhysicalQuantity of type energy | None) – The constraint value to fix the Hartree difference potential to.
Default: The potential of the electrode for device calculations, 0.0 * eV otherwise.
value()
Returns:The constraint value.
Return type:PhysicalQuantity of type energy | None