Hi,I’m going to set a variable atom style equal to another
here is my code :
variable b atom x
fix h a efield v_b 0.0 0.0
now I’m going to set my variable
variable b atom x
variable c equal b
fix h a efield v_c 0.0 0.0
but It doesn’t work.
please help me with that.
Hi,I'm going to set a variable atom style equal to another
no. you're not going to.
here is my code :
variable b atom x
fix h a efield v_b 0.0 0.0
now I'm going to set my variable
variable b atom x
variable c equal b
fix h a efield v_c 0.0 0.0
but It doesn't work.
it *cannot* work!
atom style and equal style variables are very different animals. you
cannot assign one to the other. it doesn't make any sense.
please help me with that.
please pay more attention to the documentation.
axel.