@brief Print geometry information
@param[in] basis The basis class containing geometry information @param[in] text A descriptive text for the geometry output
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(basis_set), | intent(in) | :: | basis | |||
character(len=*), | intent(in) | :: | text |
subroutine print_geo(basis, text) use io_constants, only: iw use basis_tools, only: basis_set use physical_constants, only: bohr_to_angstrom implicit none type(basis_set), intent(in) :: basis character(len=*), intent(in) :: text integer :: i write(iw, fmt="(& &/26X,17('=')& &/26X,a& &/26X,17('=')& &/8X,'Atom Znuc',11X,'X',14X,'Y',14X,'Z'& &/6X,62('-'))") text do i = 1, size(basis%atoms%zn(:)) write(iw,'(7x,i4,5x,f4.1,3(x,f15.9))') & i, basis%atoms%zn(i), basis%atoms%xyz(1:3,i)*bohr_to_angstrom end do end subroutine print_geo