Hello Avishek,
If you want to compute the sum of a particular group of particles you can use local snapshot docs and only sum over particles you want. You need to make sure that virials were computed for that step you are computing this for. You can do this through a custom action that sets the correct flags (see that documentation for more) or setting the simulation attribute always_compute_pressure to True (this has a performance penalty).
Best,
--
Brandon Butler
MolSSI Fellow
PhD Candidate, Chemical Engineering and Scientific Computing | Glotzer Lab,
University of Michigan
Email: butl...@umich.edu
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/7a67a689-455b-4b49-aed7-a1d217271525n%40googlegroups.com.