LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] force_communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] force_communication

From: Axel Kohlmeyer <akohlmey@...24...>
Date: Thu, 3 May 2018 14:00:28 -0400

On Thu, May 3, 2018 at 1:03 PM, Cunzhi Zhang <zcz1005@...2045...> wrote:
> Dear lammps community
>         I am reading some pair force codes. the force is calculated locally for myatom (i < local), but also we have force for ghost atoms (in pair). However I did not find any pack/unpack_reverse_comm function in pair*.cpp to reduce the force of ghost atoms. So could anyone point out how lammps deal with force communication between different processors?

integrator and minimizer styles call comm->reverse_comm() (and only if
newton_pair is true). note, that this is not
comm->reverse_comm_pair(), so it knows which data to collect and


>  Thanks
> Cunzhi
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites,!
> _______________________________________________
> lammps-users mailing list

Dr. Axel Kohlmeyer  akohlmey@...24...
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.