add an overlap entry to the map
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(maps_type), | intent(out) | :: | dest | |||
class(maps_type), | intent(in) | :: | source |
subroutine copy_maps(dest, source)
class(maps_type), intent(out) :: dest
class(maps_type), intent(in) :: source
dest%maps = source%maps
! if(allocated(dest%codes)) deallocate(dest%codes)
! if(allocated(dest%atoms)) deallocate(dest%atoms)
! allocate(dest%codes, source=source%codes)
! allocate(dest%atoms, source=source%atoms)
dest%id=source%id
end subroutine copy_maps