这几天在两台机器上跑lammps,偶然发现分别跑了两个一样的算例,但结果却有不一样,后来查了下手册,发现12.1 Common problems中写了如下一段话: If two LAMMPS runs do not produce the exact same answer on different machines or different numbers of processors, this is typically not a bug. In theory ...
单字符串和多字符串用来命名variable的name时,引用时注意,如果是单字符串,只需$x,而多字符串,则需加上curly brackets(花括号),${temp}。 lammps-manual-3.2中原话如下: If the $ is followed by curly brackets, then the variable name is the text inside the curly brackets. If no curly br ...