[lammps-users] liblmp api - request

Hi,
I wrote a small tool in C++ to convert from lammps restart file to
AtomEye extended cfg file. It's using liblmp to read restart file. To
make the program simpler, I've changed signature of Input::one()
method, to use "const char*" instead of "char*", i.e. to:

char *one(const char *); // process a single command

Would you mind to make such a change in official version of lammps?
And maybe also the same about Input::file(char *) ?

It's simpler because if I have string command, I can do
lmp->input->one(command.c_str())
avoiding strdup(), free(), etc.

Thanks,
Marcin

I just made the change - it will be in the next LAMMPS
release - hopefully this month.

If you want us to include the tool, send the C++ file.

Steve

I just made the change - it will be in the next LAMMPS
release - hopefully this month.

Thanks

If you want us to include the tool, send the C++ file.

I'll document it and send it later this week.

Marcin