Regarding code modification

Hi all user,
        I want to include my code in Lammps source code. for which i need
to modify the source code but my confusion is that since in my
required calculation the configuration must be needed (i.e
simulation box length and x,y,z co-ordinate). so can you please
suggest me that where should i have to modify the Lammps source
code exactly??

Thank you