Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 524 Bytes

cu-system-compute.rst

File metadata and controls

18 lines (10 loc) · 524 Bytes

Information computation

.. py:class:: ComputeInfo(all_info, group)

   The constructor of an object of computing some important information, including temperature, pressure, momentum, and potential of a group of particles.

   :param AllInfo all_info: The system information.
   :param ParticleSet group: The group of particles.

   .. py:function:: setNdof(unsigned int nfreedom)

      sets the degree of freedom.

   Example::

      comp_info = gala.ComputeInfo(all_info, group)