Skip to content

Commit

Permalink
Update src/set_module.f90
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel Mueller <marcel.mueller@thch.uni-bonn.de>
  • Loading branch information
Thomas3R and marcelmbn committed Sep 19, 2024
1 parent 31fa6d8 commit 9da477d
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/set_module.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1510,15 +1510,11 @@ subroutine alloc_ffnb(env, fname)
character(len=*),intent(in) :: fname
character(len=*), parameter :: source = 'alloc_ffnb'
character(len=:),allocatable :: line
integer :: copy, err
integer :: id, ie
logical :: is_ffnb_block
! character,private,parameter :: flag = '$' ! is defined for this module
integer :: n_changes ! number of atoms that neigh%nb should be adjusted for

copy=-1 ! do not copy the control file
n_changes = 0
is_ffnb_block = .false.

integer :: id, ie, err
logical :: is_ffnb_block = .false.
integer :: copy = -1
integer :: n_changes = 0 ! number of atoms that neigh%nb should be adjusted for

call open_file(id,fname,'r')
if (id.eq.-1) then
Expand Down

0 comments on commit 9da477d

Please sign in to comment.