On Wed, Jun 27, 2018 at 3:58 PM, Renato Poli <rebp...@gmail.com> wrote:
> Hi, > > I need to evaluate the "greatest" value of a vector that is created in > parallel. It is a matter of iterating over all the local elements and > calculate the parts of this distributed vector. > > What is the best way to syncronize this vector to all processors - so they > can have the whole set of data and can find out the "greatest" value? Any > example to suggest? > Are you using NumericVector? It has a max() member. -- John ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users