ExternalPotential

class psi4.core.ExternalPotential

Bases: 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)

appendCharges(self, arg0)

Append a vector of charge tuples to a current ExternalPotential

clear(self)

Reset the field to zero (eliminates all entries)

computeExternExternInteraction(self, arg0)

Compute the interaction between this potential and other external potential

computeNuclearEnergy(self, arg0)

Compute the contribution to the nuclear repulsion energy for the given molecule

computePotentialMatrix(self, basis)

Compute the external potential matrix in the given basis set

getCharges(self)

Get the vector of charge tuples

gradient_on_charges(self)

Get the gradient on the embedded charges

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)

appendCharges(self: psi4.core.ExternalPotential, arg0: list[tuple[float, float, float, float]]) None

Append a vector of charge tuples to a current ExternalPotential

clear(self: psi4.core.ExternalPotential) None

Reset the field to zero (eliminates all entries)

computeExternExternInteraction(self: psi4.core.ExternalPotential, arg0: psi4.core.ExternalPotential) float

Compute the interaction between this potential and other external potential

computeNuclearEnergy(self: psi4.core.ExternalPotential, arg0: psi4.core.Molecule) float

Compute the contribution to the nuclear repulsion energy for the given molecule

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

Compute the external potential matrix in the given basis set

getCharges(self: psi4.core.ExternalPotential) list[tuple[float, float, float, float]]

Get the vector of charge tuples

gradient_on_charges(self: psi4.core.ExternalPotential) psi4.core.Matrix

Get the gradient on the embedded charges

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