|
|
@ -432,8 +432,8 @@ module elements
|
|
|
|
character(len=*), intent(in) :: type !The type of element that it is
|
|
|
|
character(len=*), intent(in) :: type !The type of element that it is
|
|
|
|
integer, intent(in) :: esize !The number of atoms per side
|
|
|
|
integer, intent(in) :: esize !The number of atoms per side
|
|
|
|
integer, intent(in) :: lat_type !The integer lattice type of the element
|
|
|
|
integer, intent(in) :: lat_type !The integer lattice type of the element
|
|
|
|
real(kind=dp), dimension(3,max_basisnum, max_ng_node), intent(in) :: r_in !Nodal positions
|
|
|
|
real(kind=dp), dimension(:,:,:), intent(in) :: r_in !Nodal positions
|
|
|
|
integer, dimension(max_basisnum*max_esize**3), intent(out) :: type_interp !Interpolated atomic positions
|
|
|
|
integer, dimension(:), intent(out) :: type_interp !Interpolated atomic positions
|
|
|
|
real(kind=dp), dimension(3, max_basisnum*max_esize**3), intent(out) :: r_interp !Interpolated atomic positions
|
|
|
|
real(kind=dp), dimension(3, max_basisnum*max_esize**3), intent(out) :: r_interp !Interpolated atomic positions
|
|
|
|
real(kind = dp), optional, intent(in) :: eng(max_basisnum, max_ng_node), f(3, max_basisnum, max_ng_node), &
|
|
|
|
real(kind = dp), optional, intent(in) :: eng(max_basisnum, max_ng_node), f(3, max_basisnum, max_ng_node), &
|
|
|
|
v(6, max_basisnum, max_ng_node)
|
|
|
|
v(6, max_basisnum, max_ng_node)
|
|
|
@ -462,6 +462,7 @@ module elements
|
|
|
|
lat_type_temp = lat_type
|
|
|
|
lat_type_temp = lat_type
|
|
|
|
end select
|
|
|
|
end select
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select case(trim(adjustl(type)))
|
|
|
|
select case(trim(adjustl(type)))
|
|
|
|
case('fcc','bcc')
|
|
|
|
case('fcc','bcc')
|
|
|
|
!Now loop over all the possible sites
|
|
|
|
!Now loop over all the possible sites
|
|
|
|