Skip to content
Snippets Groups Projects
Commit 40382cbd authored by athomps's avatar athomps
Browse files

Added atom jiggle to initial structure

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14000 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 7b30c20b
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,8 @@ variable d4 equal -(v_pyz1-${pyz0})/(v_delta/v_len0)*${cfac}
variable d5 equal -(v_pxz1-${pxz0})/(v_delta/v_len0)*${cfac}
variable d6 equal -(v_pxy1-${pxy0})/(v_delta/v_len0)*${cfac}
displace_atoms all random ${atomjiggle} ${atomjiggle} ${atomjiggle} 87287 units box
# Write restart
unfix 3
write_restart restart.equil
......
......@@ -6,6 +6,10 @@
# variable to verify that results do not depend on it.
variable up equal 1.0e-6
# Define the amount of random jiggle for atoms
# This prevents atoms from staying on saddle points
variable atomjiggle equal 1.0e-5
# Uncomment one of these blocks, depending on what units
# you are using in LAMMPS and for output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment