Initial commit with working atom and lattice type parsing

This commit is contained in:
Alex Selimov 2019-09-25 20:11:10 -04:00
parent 552dd3cada
commit 624886bbe9
9 changed files with 350 additions and 1 deletions

24
src/subroutines.f90 Normal file
View file

@ -0,0 +1,24 @@
module subroutines
use precision_comm_module
implicit none
public
contains
!This subroutine is just used to break the code and exit on an error
subroutine read_error_check(para, loc)
integer, intent(in) :: para
character(len=100), intent(in) :: loc
if (para > 0) then
print *, "Read error in ", trim(loc), " because of ", para
stop "Exit with error"
end if
end subroutine
end module subroutines