ElectricField
-
class ElectricField : public feasst::ModelOneBody
Apply an electric field along a dimension.
\(U_{ext}(x) = -q E x\)
where \(q\) is the charge of a site, \(E\) is the electric field and \(x\) is the position along a given dimension.
Arguments
dimension: direction of the electric field (default: 0).
field_strength: external electric field strength in force per charge. The units are assumed to be Volts/Angstrom, where charge is electron charge and energy is in kJ/mol.