# ExternalPotential

class `psi4.core.``ExternalPotential`

  Bases: `pybind11_builtins.pybind11_object`

  Stores external potential field, computes external potential matrix

  Methods Summary

  `addBasis`(self, basis, coefs) | Add a basis of S auxiliary functions iwth Df coefficients
  `addCharge`(self, Z, x, y, z) | Add a charge Z at (x,y,z)
  `clear`(self) | Reset the field to zero (eliminates all entries)
  `computePotentialMatrix`(self, basis) | Compute the external potential matrix in the given basis set
  `print_out`(self) | Print python print helper to the outfile
  `setName`(self, arg0) | Sets the name

  Methods Documentation

  `addBasis`(self: psi4.core.ExternalPotential, basis: psi4.core.BasisSet, coefs: psi4.core.Vector) → None

    Add a basis of S auxiliary functions iwth Df coefficients

  `addCharge`(self: psi4.core.ExternalPotential, Z: float, x: float, y: float, z: float) → None

    Add a charge Z at (x,y,z)

  `clear`(self: psi4.core.ExternalPotential) → None

    Reset the field to zero (eliminates all entries)

  `computePotentialMatrix`(self: psi4.core.ExternalPotential, basis: psi4.core.BasisSet) → psi4.core.Matrix

    Compute the external potential matrix in the given basis set

  `print_out`(self: psi4.core.ExternalPotential) → None

    Print python print helper to the outfile

  `setName`(self: psi4.core.ExternalPotential, arg0: str) → None

    Sets the name

  `addBasis`(self: psi4.core.ExternalPotential, basis: psi4.core.BasisSet, coefs: psi4.core.Vector) → None

    Add a basis of S auxiliary functions iwth Df coefficients

  `addCharge`(self: psi4.core.ExternalPotential, Z: float, x: float, y: float, z: float) → None

    Add a charge Z at (x,y,z)

  `clear`(self: psi4.core.ExternalPotential) → None

    Reset the field to zero (eliminates all entries)

  `computePotentialMatrix`(self: psi4.core.ExternalPotential, basis: psi4.core.BasisSet) → psi4.core.Matrix

    Compute the external potential matrix in the given basis set

  `print_out`(self: psi4.core.ExternalPotential) → None

    Print python print helper to the outfile

  `setName`(self: psi4.core.ExternalPotential, arg0: str) → None

    Sets the name