Hi, lammps developers,
I have a simple question to ask. If I know the atom global ID, how to find out the corresponding atom type in lammps programming? Thanks
D. Chai
Hi, lammps developers,
I have a simple question to ask. If I know the atom global ID, how to find out the corresponding atom type in lammps programming? Thanks
D. Chai
atom->map(global-ID) gives the local ID.
type[local-ID] is the atom type
Steve
Dear Steve,
Thank you very much for your help.
D. Chai