Skip to content

Commit

Permalink
Update vector.f90
Browse files Browse the repository at this point in the history
  • Loading branch information
mukkelian authored Feb 23, 2025
1 parent c0d3a61 commit 34f0880
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions utility/Vector/vector.f90
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
! along with this program; if not, see https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html

program vector
implicit none
integer :: i, j, num_ion, total_lines
character (len=2), allocatable :: ion(:)
real, allocatable :: a(:, :)
character (len=2) :: ion_lbl, out, dummy
character (len=2), allocatable :: ion_ID(:), continue_tag(:)
character(len=6) :: file_name
logical :: file_present

implicit none
integer :: i, j, num_ion, total_lines
character (len=2), allocatable :: ion(:)
real, allocatable :: a(:, :)
character (len=2) :: ion_lbl, out, dummy
character (len=2), allocatable :: ion_ID(:), continue_tag(:)
character(len=6) :: file_name
logical :: file_present

call system('cp *spK* sp_vector.xsf')

Expand All @@ -38,7 +39,7 @@ program vector
end if

open (1, file='sp_vector.xsf', status='old', action='read')
open (2, file='input', status='old', action='read')
open (2, file='in_vec.ether', status='old', action='read')
open (4, file='plot_vector.sh', status='unknown', action='write')

read(2, *) num_ion ! number of ions
Expand Down

0 comments on commit 34f0880

Please sign in to comment.