ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Function template broadcast_seed

alps::random::parallel::broadcast_seed

Synopsis

// In header: <alps/random/parallel/mpi.hpp>


template<typename PRNG, typename SeedType> 
  void broadcast_seed(PRNG & prng, boost::mpi::communicator const & c, 
                      int root, SeedType s);

Description

broadcasts the global seed s from the root rank given by the root argument and then calls the seed function with the same arguments.

Copyright © 2006-2008 Brigitte Surer, Matthias Troyer

PrevUpHomeNext