create_atoms
Hi,
When I want to create a particle at a desired location, an error is encountered.
create_atoms 1 single ${x1} ${y1} ${z1} units box, where x1, y1 and z1 are variables.
ERROR: Variable for set command is invalid style
create_atoms 1 single v_x1 v_y1 v_z1 units box
ERROR: Expected floating point parameter in input script or data file.
I also check the value of the variables by print.
print "The x1 is ${x1}"
The x1 is -0.0035
print "The y1 is ${y1}"
The y1 is 0
Forums:
- Read more about create_atoms
- 1 comment
- Log in or register to post comments