LIGGGHTS w bonds 3.8.0 fix
modifying LIGGGHTS with bonds to work with 3.8.0 by changing the seed argument to type char
in fix_bond_create_gran.h:
69: delete "seed" from int declarations
add "const char *seed"
add "bool proc_shift = 1;"
in fix_bond_create_gran.cpp:
90:delete line
112: get rid of atoi so seed is still the string
129:change to "random = new RanMars(lmp,seed,proc_shift,1);"
It should now compile just fine and has the same functionality as the original for random bond creation.
Forums:
- Read more about LIGGGHTS w bonds 3.8.0 fix
- 20 comments
- Log in or register to post comments