bond_distance Function

public function bond_distance(g, i_nuc, j_nuc, k_tr) result(r_ab)

calculated distances between atoms (employing periodic boundary conditions)

Arguments

Type IntentOptional Attributes Name
type(grid3d), intent(in) :: g
integer, intent(in) :: i_nuc
integer, intent(in) :: j_nuc
integer, intent(in), optional :: k_tr

Return Value real(kind=long)