parameters: (self)
docstring: bool: Always compute the virial and pressure (defaults to ``False``).
  
          By default, HOOMD only computes the virial and pressure on timesteps
          where it is needed (when :py:class:`hoomd.write.GSD` writes
          log data to a file or when using an NPT integrator). Set
          `always_compute_pressure` to True to make the per particle virial,
          net virial, and system pressure available to query any time by property
          or through the :py:class:`hoomd.logging.Logger` interface.
  
          Note:
              Enabling this flag will result in a moderate performance penalty
              when using MD pair potentials.
docstring_summary: bool: Always compute the virial and pressure (defaults to ``False``).
docstring_tokens: bool : Always compute the virial and pressure ( defaults to False ) .
function: def always_compute_pressure(self):
          """bool: Always compute the virial and pressure (defaults to ``False``).
  
          By default, HOOMD only computes the virial and pressure on timesteps
          where it is needed (when :py:class:`hoomd.write.GSD` writes
          log data to a file or when using an NPT integrator). Set
          `always_compute_pressure` to True to make the per particle virial,
          net virial, and system pressure available to query any time by property
          or through the :py:class:`hoomd.logging.Logger` interface.
  
          Note:
              Enabling this flag will result in a moderate performance penalty
              when using MD pair potentials.
          """
          if not hasattr(self, '_cpp_sys'):
              return False
          else:
              return self._cpp_sys.getPressureFlag()
function_tokens: def always_compute_pressure ( self ) : if not hasattr ( self , '_cpp_sys' ) : return False else : return self . _cpp_sys . getPressureFlag ( )