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

General isotropic second-order electrostatics model. More...

Data Types

type  coulomb_charge_type
 General second-order electrostatics. More...
interface  get_coulomb_matrix
 Evaluate coulomb matrix. More...

Functions/Subroutines

subroutine, public get_coulomb_matrix_from_blocks (self, mol, cache, partition, amat)
 Assemble a full matrix only for callers explicitly requesting dense storage.

Detailed Description

General isotropic second-order electrostatics model.

Function/Subroutine Documentation

◆ get_coulomb_matrix_from_blocks()

subroutine, public tblite_coulomb_charge_type::get_coulomb_matrix_from_blocks ( class(coulomb_charge_type), intent(in) self,
type(structure_type), intent(in) mol,
type(coulomb_cache), intent(inout) cache,
type(work_partition), intent(in) partition,
real(wp), dimension(:, :), intent(out), contiguous amat )

Assemble a full matrix only for callers explicitly requesting dense storage.

Parameters
[in]selfInstance implementing direct local block construction
[in]molMolecular structure data
[in,out]cacheReusable data container
[in]partitionShare of atom pairs included in the matrix
[out]amatCoulomb matrix, zero outside the owned pairs