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

List of interaction containers. More...

Inheritance diagram for tblite_container_list::container_list:
tblite_container_type::container_type

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 push_back (self, cont)
 Add a container.
 
procedure pop (self, cont, idx)
 Remove a container.
 
procedure info (self, verbosity, indent)
 Information about the container list.
 
- Public Member Functions inherited from tblite_container_type::container_type
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

type(container_node), dimension(:), allocatable list
 Raw list of interaction containers.
 
- Data Fields inherited from tblite_container_type::container_type
character(len=:), allocatable label
 Label identifying this contribution.
 

Detailed Description

List of interaction containers.

Member Function/Subroutine Documentation

◆ get_energy()

procedure tblite_container_list::container_list::get_energy ( class(container_list), 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_list::container_list::get_engrad ( class(container_list), 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_list::container_list::get_gradient ( class(container_list), 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_list::container_list::get_potential ( class(container_list), 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_list::container_list::info ( class(container_list), intent(in) self,
integer, intent(in) verbosity,
character(len=*), intent(in) indent )

Information about the container list.

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

◆ pop()

procedure tblite_container_list::container_list::pop ( class(container_list), intent(inout) self,
class(container_type), intent(out), allocatable cont,
integer, intent(in), optional idx )

Remove a container.

Parameters
[in,out]selfInstance of the container list
[out]contContainer to be removed
[in]idxIndex to remove container from

◆ push_back()

procedure tblite_container_list::container_list::push_back ( class(container_list), intent(inout) self,
class(container_type), intent(inout), allocatable cont )

Add a container.

Parameters
[in,out]selfInstance of the container list
[in,out]contContainer to be added

◆ update()

procedure tblite_container_list::container_list::update ( class(container_list), 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_list::container_list::variable_info ( class(container_list), 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: