make test input platform independent with is_os() variable function
This commit is contained in:
@ -10,7 +10,8 @@ pre_commands: ! |
|
||||
variable units index real
|
||||
variable newton_pair delete
|
||||
variable newton_pair index on
|
||||
shell cp ${input_dir}/table_CG_CG_CG.txt .
|
||||
if $(is_os(^Windows)) then "variable copycmd string copy" else "variable copycmd string cp"
|
||||
shell ${copycmd} ${input_dir}/table_CG_CG_CG.txt .
|
||||
post_commands: ! ""
|
||||
input_file: in.metal
|
||||
pair_style: hybrid/overlay table linear 1200 sw/angle/table
|
||||
|
||||
@ -10,8 +10,9 @@ pre_commands: ! |
|
||||
variable units index real
|
||||
variable newton_pair delete
|
||||
variable newton_pair index on
|
||||
shell cp ${input_dir}/1-1-1.table .
|
||||
shell cp ${input_dir}/1-1-2.table .
|
||||
if $(is_os(^Windows)) then "variable copycmd string copy" else "variable copycmd string cp"
|
||||
shell ${copycmd} ${input_dir}/1-1-1.table .
|
||||
shell ${copycmd} ${input_dir}/1-1-2.table .
|
||||
post_commands: ! ""
|
||||
input_file: in.metal
|
||||
pair_style: hybrid/overlay table linear 1200 threebody/table
|
||||
|
||||
Reference in New Issue
Block a user