Thank you, Steve.
It works well when I use restart2data to create a data file and read it in.
Just my curiosity, in the atom_vec_bond.cpp (I use atom_style bond), I
see that both pack_restart() and unpack_restart() involve the image
flags. Why does read_restart still give errors when used with replicate?
Best regards,
-Trung
Quoting Steve Plimpton <sjplimp@...>:
> The replicate command should recognize bonds that cross
> periodic boundaries and do the right thing. But you need to
> have the image flags correct. Can you use it on a system you
> read in from a data file? I would start from that and see
> if you can get it to work as you expect.
>
> Steve
>
> On Mon, Aug 11, 2008 at 10:44 AM, Trung Dac Nguyen <ndtrung@...> wrote:
>> Dear LAMMPS,
>>
>> when I replicate a system of linear polymers from a restart file, I
>> receive errors on bonds too long. I guess that before replicating the
>> system, the replicate command does not release the periodic boundary
>> conditions such that bonded atoms in the same molecules are placed
>> close together. Is that the case here? If yes, could you give a fix
>> for that soon?
>>
>> Thank you,
>> -Trung
>>
>>
>>
>>
>> --
>> Trung D. Nguyen
>> PhD student, Department of Chemical Engineering
>> 3440 GGBB, 2350 Hayward St., Ann Arbor, MI 48109
>> University of Michigan
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> lammps-users mailing list
>> lammps-users@...
>> https://lists.sourceforge.net/lists/listinfo/lammps-users
>>
>
>
>
--
Trung D. Nguyen
PhD student, Department of Chemical Engineering
3440 GGBB, 2350 Hayward St., Ann Arbor, MI 48109
University of Michigan
|