parameters: (self, beads, nm, cell, bforce, prng)
docstring: Binds beads, cell, bforce and prng to the ensemble.
  
        This takes a beads object, a cell object, a forcefield object and a
        random number generator object and makes them members of the ensemble.
        It also then creates the objects that will hold the data needed in the
        ensemble algorithms and the dependency network. Also note that the cell
        thermostat timesteps and temperatures are defined relative to the system
        temperature, and the the thermostat temperatures are held at the
        higher simulation temperature, as is appropriate.
  
        Args:
           beads: The beads object from which the bead positions are taken.
           nm: A normal modes object used to do the normal modes transformation.
           cell: The cell object from which the system box is taken.
           bforce: The forcefield object from which the force and virial are
              taken.
           prng: The random number generator object which controls random number
              generation.
docstring_summary: Binds beads, cell, bforce and prng to the ensemble.
docstring_tokens: Binds beads cell bforce and prng to the ensemble .
function: def bind(self, beads, nm, cell, bforce, prng):
        """Binds beads, cell, bforce and prng to the ensemble.
  
        This takes a beads object, a cell object, a forcefield object and a
        random number generator object and makes them members of the ensemble.
        It also then creates the objects that will hold the data needed in the
        ensemble algorithms and the dependency network. Also note that the cell
        thermostat timesteps and temperatures are defined relative to the system
        temperature, and the the thermostat temperatures are held at the
        higher simulation temperature, as is appropriate.
  
        Args:
           beads: The beads object from which the bead positions are taken.
           nm: A normal modes object used to do the normal modes transformation.
           cell: The cell object from which the system box is taken.
           bforce: The forcefield object from which the force and virial are
              taken.
           prng: The random number generator object which controls random number
              generation.
        """
  
  
        fixdof = None
        if self.fixcom:
           fixdof = 3
  
        super(NPTEnsemble,self).bind(beads, nm, cell, bforce, prng)
        self.barostat.bind(beads, nm, cell, bforce, prng=prng, fixdof=fixdof)
  
  
        deppipe(self,"ntemp", self.barostat, "temp")
        deppipe(self,"dt", self.barostat, "dt")
        deppipe(self,"pext", self.barostat, "pext")
        dget(self,"econs").add_dependency(dget(self.barostat, "ebaro"))
function_tokens: def bind ( self , beads , nm , cell , bforce , prng ) : fixdof = None if self . fixcom : fixdof = 3 super ( NPTEnsemble , self ) . bind ( beads , nm , cell , bforce , prng ) self . barostat . bind ( beads , nm , cell , bforce , prng = prng , fixdof = fixdof ) deppipe ( self , "ntemp" , self . barostat , "temp" ) deppipe ( self , "dt" , self . barostat , "dt" ) deppipe ( self , "pext" , self . barostat , "pext" ) dget ( self , "econs" ) . add_dependency ( dget ( self . barostat , "ebaro" ) )