Re: [Libmesh-users] Syncronize a vector among processes

2018-06-27 Thread John Peterson
On Wed, Jun 27, 2018 at 4:55 PM, Renato Poli wrote: > Nice. It is important to identify the source of that value (elem. number, > for example). > Is it safe to use the template parameter as a custom class overriding > the sorting operators? > > Something like: > > class MyClass { > double nu

Re: [Libmesh-users] Syncronize a vector among processes

2018-06-27 Thread Renato Poli
Nice. It is important to identify the source of that value (elem. number, for example). Is it safe to use the template parameter as a custom class overriding the sorting operators? Something like: class MyClass { double number_to_classify; unsigned int elem_id; operator< ( ... ) { ..

Re: [Libmesh-users] Syncronize a vector among processes

2018-06-27 Thread John Peterson
On Wed, Jun 27, 2018 at 3:58 PM, Renato Poli 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 thi

[Libmesh-users] Syncronize a vector among processes

2018-06-27 Thread Renato Poli
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 dat

Re: [Libmesh-users] EquationSystems::init() takes an enormous amount of time with scalar variables

2018-06-27 Thread John Peterson
On Wed, Jun 27, 2018 at 7:42 AM, Bailey Curzadd wrote: > Hi there, > > > I’m using libMesh to perform topology optimization on a mesh with a > spherical surface. I only have a single LinearImplicitSystem. The normal > displacement of nodes on the spherical surface needs to be constrained to > for

[Libmesh-users] EquationSystems::init() takes an enormous amount of time with scalar variables

2018-06-27 Thread Bailey Curzadd
Hi there, I’m using libMesh to perform topology optimization on a mesh with a spherical surface. I only have a single LinearImplicitSystem. The normal displacement of nodes on the spherical surface needs to be constrained to force the surface to remain spherical. I am using Lagrange multipliers t