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

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??

your description is as confusing as you seem to be yourself.
thus it is impossible to give advice outside of the generic one that follows.

it seems you plan to do something that requires some understanding of
how LAMMPS works internally, yet you don't seem to have even read the
available documentation, supporting files, READMEs and presentations
from the past LAMMPS workshops which touched the subject of modifying
LAMMPS. that won't work.
apart from that, you *have* to read the source and try to make sense
of it. and you *have* to understand the fundamental parallelization
strategy and the repercussions for your feature. just asking "tell me
where to change the code" is asking somebody else to do your work with
the added complication that that somebody else doesn't even know what
it is that you want to do.

the recommended approach for modifying and extending LAMMPS is to look
for a feature that is similar to what you want to implement, study the
corresponding sources, ask questions about it, if needed, and then
adapt the code or write your own code based on what you learned. for
any other approach you will get rather little sympathy and support.
and in general questions like "how does this piece of code work?" are
usually treated with a more favorable response than "tell me what to
do!".

axel.