|
tblite
Light-weight tight-binding framework
|
Container for contribution from an instantaneous electric field. More...
Public Member Functions | |
| procedure | update (self, mol, cache) |
| Update cache from container. | |
| procedure | variable_info (self) |
| Return dependency on density. | |
| procedure | get_energy (self, mol, cache, wfn, energies) |
| Get electric field energy. | |
| procedure | get_potential (self, mol, cache, wfn, pot) |
| Get electric field potential. | |
| procedure | get_potential_gradient (self, mol, cache, wfn, pot) |
| Get electric field potential. | |
| procedure | get_gradient (self, mol, cache, wfn, gradient, sigma) |
| Get electric field gradient. | |
| pure type(electric_field) function | create_electric_field (efield) |
| Create new electric field container. | |
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_potential_gradient (self, mol, cache, wfn, pot) |
| Evaluate gradient of 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 | |
| real(wp), dimension(3) | efield = 0.0_wp |
| Instantaneous electric field. | |
Data Fields inherited from tblite_container_type::container_type | |
| character(len=:), allocatable | label |
| Label identifying this contribution. | |
Container for contribution from an instantaneous electric field.
Create electric field container from field vector.
| pure type(electric_field) function tblite_external_field::electric_field::create_electric_field | ( | real(wp), dimension(:), intent(in) | efield | ) |
Create new electric field container.
| [in] | efield | Instantaneous electric field |
| procedure tblite_external_field::electric_field::get_energy | ( | class(electric_field), 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 ) |
Get electric field energy.
| [in] | self | Instance of the electrostatic container |
| [in] | mol | Molecular structure data |
| [in,out] | cache | Reusable data container |
| [in] | wfn | Wavefunction data |
| [in,out] | energies | Electrostatic energy |
| procedure tblite_external_field::electric_field::get_gradient | ( | class(electric_field), 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 ) |
Get electric field gradient.
| [in] | self | Instance of the electrostatic container |
| [in] | mol | Molecular structure data |
| [in,out] | cache | Reusable data container |
| [in] | wfn | Wavefunction data |
| [in,out] | gradient | Molecular gradient of the repulsion energy |
| [in,out] | sigma | Strain derivatives of the repulsion energy |
| procedure tblite_external_field::electric_field::get_potential | ( | class(electric_field), 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 ) |
Get electric field potential.
| [in] | self | Instance of the electrostatic container |
| [in] | mol | Molecular structure data |
| [in,out] | cache | Reusable data container |
| [in] | wfn | Wavefunction data |
| [in,out] | pot | Density dependent potential |
| procedure tblite_external_field::electric_field::get_potential_gradient | ( | class(electric_field), 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 ) |
Get electric field potential.
| [in] | self | Instance of the electrostatic container |
| [in] | mol | Molecular structure data |
| [in,out] | cache | Reusable data container |
| [in] | wfn | Wavefunction data |
| [in,out] | pot | Density dependent potential |
| procedure tblite_external_field::electric_field::update | ( | class(electric_field), intent(in) | self, |
| type(structure_type), intent(in) | mol, | ||
| type(container_cache), intent(inout) | cache ) |
Update cache from container.
| [in] | self | Instance of the electrostatic container |
| [in] | mol | Molecular structure data |
| [in,out] | cache | Reusable data container |
| procedure tblite_external_field::electric_field::variable_info | ( | class(electric_field), intent(in) | self | ) |
Return dependency on density.
| [in] | self | Instance of the electrostatic container |