tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
tblite_container_type::container_type Type Reference

Abstract base class for interactions containers. More...

Inheritance diagram for tblite_container_type::container_type:
tblite_container_list::container_list tblite_coulomb_type::coulomb_type tblite_disp_type::dispersion_type tblite_external_field::electric_field tblite_repulsion_type::repulsion_type tblite_solvation_type::solvation_type tblite_spin::spin_polarization tblite_coulomb_charge_type::coulomb_charge_type tblite_coulomb_multipole::damped_multipole tblite_coulomb_thirdorder::onsite_thirdorder tblite_disp_d3::d3_dispersion tblite_disp_d4::d4_dispersion tblite_classical_halogen::halogen_correction tblite_repulsion_effective::tb_repulsion tblite_solvation_alpb::alpb_solvation tblite_solvation_cds::cds_solvation tblite_solvation_cpcm::cpcm_solvation

Public Member Functions

procedure update (self, mol, cache)
 Update container cache.
 
procedure variable_info (self)
 Get information about density dependent quantities used in the energy.
 
procedure get_engrad (self, mol, cache, energies, gradient, sigma)
 Evaluate non-selfconsistent part of the interaction.
 
procedure get_energy (self, mol, cache, wfn, energies)
 Evaluate selfconsistent energy of the interaction.
 
procedure get_potential (self, mol, cache, wfn, pot)
 Evaluate charge dependent potential shift from the interaction.
 
procedure get_gradient (self, mol, cache, wfn, gradient, sigma)
 Evaluate gradient contributions from the selfconsistent interaction.
 
procedure info (self, verbosity, indent)
 Information on container.
 

Data Fields

character(len=:), allocatable label
 Label identifying this contribution.
 

Detailed Description

Abstract base class for interactions containers.

Member Function/Subroutine Documentation

◆ get_energy()

procedure tblite_container_type::container_type::get_energy ( class(container_type), intent(in) self,
type(structure_type), intent(in) mol,
type(container_cache), intent(inout) cache,
type(wavefunction_type), intent(in) wfn,
real(wp), dimension(:), intent(inout) energies )

Evaluate selfconsistent energy of the interaction.

Parameters
[in]selfInstance of the interaction container
[in]molMolecular structure data
[in,out]cacheCached data between different runs
[in]wfnWavefunction data
[in,out]energiesInteraction energy

◆ get_engrad()

procedure tblite_container_type::container_type::get_engrad ( class(container_type), intent(in) self,
type(structure_type), intent(in) mol,
type(container_cache), intent(inout) cache,
real(wp), dimension(:), intent(inout) energies,
real(wp), dimension(:, :), intent(inout), optional, contiguous gradient,
real(wp), dimension(:, :), intent(inout), optional, contiguous sigma )

Evaluate non-selfconsistent part of the interaction.

Parameters
[in]selfInstance of the interaction container
[in]molMolecular structure data
[in,out]cacheCached data between different runs
[in,out]energiesInteraction energy
[in,out]gradientInteraction gradient
[in,out]sigmaInteraction virial

◆ get_gradient()

procedure tblite_container_type::container_type::get_gradient ( class(container_type), intent(in) self,
type(structure_type), intent(in) mol,
type(container_cache), intent(inout) cache,
type(wavefunction_type), intent(in) wfn,
real(wp), dimension(:, :), intent(inout), contiguous gradient,
real(wp), dimension(:, :), intent(inout), contiguous sigma )

Evaluate gradient contributions from the selfconsistent interaction.

Parameters
[in]selfInstance of the interaction container
[in]molMolecular structure data
[in,out]cacheCached data between different runs
[in]wfnWavefunction data
[in,out]gradientInteraction gradient
[in,out]sigmaInteraction virial

◆ get_potential()

procedure tblite_container_type::container_type::get_potential ( class(container_type), intent(in) self,
type(structure_type), intent(in) mol,
type(container_cache), intent(inout) cache,
type(wavefunction_type), intent(in) wfn,
type(potential_type), intent(inout) pot )

Evaluate charge dependent potential shift from the interaction.

Parameters
[in]selfInstance of the interaction container
[in]molMolecular structure data
[in,out]cacheCached data between different runs
[in]wfnWavefunction data
[in,out]potDensity dependent potential

◆ info()

procedure tblite_container_type::container_type::info ( class(container_type), intent(in) self,
integer, intent(in) verbosity,
character(len=*), intent(in) indent )

Information on container.

Parameters
[in]selfInstance of the interaction container
[in]verbosityVerbosity level
[in]indentIndentation level
Returns
Information on the container

◆ update()

procedure tblite_container_type::container_type::update ( class(container_type), intent(in) self,
type(structure_type), intent(in) mol,
type(container_cache), intent(inout) cache )

Update container cache.

Parameters
[in]selfInstance of the interaction container
[in]molMolecular structure data
[in,out]cacheCached data between different runs

◆ variable_info()

procedure tblite_container_type::container_type::variable_info ( class(container_type), intent(in) self)

Get information about density dependent quantities used in the energy.

Parameters
[in]selfInstance of the interaction container
Returns
Information on the required potential data

The documentation for this type was generated from the following file: