tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_scf_potential Module Reference

Implementation of the density dependent potential and its contribution to the effective Hamiltonian. More...

Data Types

type  potential_type
 Container for density dependent potential-shifts. More...
 

Functions/Subroutines

subroutine, public new_potential (self, mol, bas, nspin, grad)
 Create a new potential object.
 
subroutine, public add_pot_to_h1 (bas, ints, pot, h1)
 Add the collected potential shifts to the effective Hamiltonian.
 

Detailed Description

Implementation of the density dependent potential and its contribution to the effective Hamiltonian.

Function/Subroutine Documentation

◆ add_pot_to_h1()

subroutine, public tblite_scf_potential::add_pot_to_h1 ( type(basis_type), intent(in) bas,
type(integral_type), intent(in) ints,
type(potential_type), intent(inout) pot,
real(wp), dimension(:, :, :), intent(out) h1 )

Add the collected potential shifts to the effective Hamiltonian.

Parameters
[in]basBasis set information
[in]intsIntegral container
[in,out]potDensity dependent potential-shifts
[out]h1Effective Hamiltonian

◆ new_potential()

subroutine, public tblite_scf_potential::new_potential ( type(potential_type), intent(out) self,
type(structure_type), intent(in) mol,
type(basis_type), intent(in) bas,
integer, intent(in) nspin,
logical, intent(in), optional grad )

Create a new potential object.

Parameters
[out]selfInstance of the density dependent potential
[in]molMolecular structure data
[in]basDescription of the basis set
[in]nspinNumber of spin channels
[in]gradFlag to indicate if potential gradients are requested