Is there any document on how the ‘restart’ command write the output format (How they actually write the file) ?
Also for input format information for ‘read_data’ and ‘read_restart’ ?
I am sure this read and write function is inside the source code. Can somebody tell me which file I should go through ?
Dear Lammps Users,
Is there any document on how the 'restart' command write the output format
(How they actually write the file) ?
Also for input format information for 'read_data' and 'read_restart' ?
the data file format is explained at great length in
the documentation of - gasp - the "read_data" command.
restart files are binary don't use a standardized format.
to find out what they contain, you have to read the sources.
there is the beginnings of a developer's guide that explains
the flow of control in lammps. you can use that as a starting
point to read what you want to know from reading the sources.
I am sure this read and write function is inside the source code. Can
somebody tell me which file I should go through ?