Atom creation with different id
Hi all,
I want to create two particles with two different id using the following command
create_atoms 1 single 0.95 0.4 0.5
set atom 1 type 1 diameter 0.02 density 2500 vx 2 vy 0 vz 0
create_atoms 2 single 0.99 0.4 0.5
set atom 1 type 2 diameter 0.02 density 2500 vx 0 vy 0 vz 0
but when I trying to compile the script file it says
ERROR: Invalid atom type in create_atoms command (../create_atoms.cpp:102)
Can anyone please enlighten me that waht I am doing wrong?
Thanks and regards,
Sourav
Forums:
- Read more about Atom creation with different id
- 2 comments
- Log in or register to post comments