Added orient and unorient options
This commit is contained in:
parent
58ad74ca9a
commit
44efb4be4a
6 changed files with 77 additions and 30 deletions
|
@ -2,6 +2,7 @@ subroutine call_option(option, arg_pos)
|
|||
use parameters
|
||||
use opt_disl
|
||||
use opt_group
|
||||
use opt_orient
|
||||
use box
|
||||
implicit none
|
||||
|
||||
|
@ -15,14 +16,16 @@ subroutine call_option(option, arg_pos)
|
|||
call group(arg_pos)
|
||||
case('-ow')
|
||||
arg_pos = arg_pos + 1
|
||||
continue
|
||||
case('-wrap')
|
||||
arg_pos = arg_pos + 1
|
||||
continue
|
||||
case('-orient')
|
||||
call orient(arg_pos)
|
||||
case('-unorient')
|
||||
call unorient
|
||||
arg_pos = arg_pos + 1
|
||||
case('-boundary')
|
||||
arg_pos=arg_pos+1
|
||||
call get_command_argument(arg_pos, box_bc)
|
||||
print *, box_bc
|
||||
arg_pos=arg_pos+1
|
||||
case default
|
||||
print *, 'Option ', trim(adjustl(option)), ' is not currently accepted.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue