Modification of electrical potential calculation

Dear all,

I am trying to modify ewald summation related features, including ewald.cpp/h, kspace.cpp/h and atom_style.cpp/h for now that I can think of. There is one concern that it seems not clear to me of how to consider parallel computing into my codes.

Since Comm class is for parallel partition, my question is that, do I need to consider setting up new parameters/writing my own codes for parallel computing, or with this part copied, what I need to do is only the modification of the summation part, which means the basic structure of my new ewald codes should be the same, and the only parts changed are the modification?

Looking forward to your ideas, and thank you for your suggestions ahead.

Dear all,

I am trying to modify ewald summation related features, including
ewald.cpp/h, kspace.cpp/h and atom_style.cpp/h for now that I can think of.
There is one concern that it seems not clear to me of how to consider
parallel computing into my codes.

...and it is not clear *what* you are changing, so how should anybody
be able to give advice?

Since Comm class is for parallel partition, my question is that, do I need
to consider setting up new parameters/writing my own codes for parallel
computing, or with this part copied, what I need to do is only the
modification of the summation part, which means the basic structure of my
new ewald codes should be the same, and the only parts changed are the
modification?

please read the existing code and try to understand how it handles
parallelization.
...and that construct and make tests.

nobody can give specific advice in reference to "i am changing 'something'".
good advice requires good information,

     axel.