Re: [Libmesh-users] Quick questions about SCALAR variables

2018-03-26 Thread Roy Stogner
On Fri, 23 Mar 2018, Salazar De Troya, Miguel wrote: Are the SCALAR variables added to the local vectors for each processor? As ghosted dof coefficients? Yes. The only exception is that, if you have a processor which doesn't own any elements on which the SCALAR is defined (either because th

Re: [Libmesh-users] Quick questions about SCALAR variables

2018-03-23 Thread Salazar De Troya, Miguel
Are the SCALAR variables added to the local vectors for each processor? Miguel -- On 3/20/18, 11:52 AM, "Roy Stogner" wrote: On Tue, 20 Mar 2018, David Knezevic wrote: > IIRC we stick them at the end, so typically the last (i.e. (rank-1)^th) > processor will own all t

Re: [Libmesh-users] Quick questions about SCALAR variables

2018-03-20 Thread Roy Stogner
On Tue, 20 Mar 2018, David Knezevic wrote: IIRC we stick them at the end, so typically the last (i.e. (rank-1)^th) processor will own all the SCALARs. This is correct, but please try to avoid writing codes depending on it; it's one of the upcoming items on our "Stuff I thought would be fine b

Re: [Libmesh-users] Quick questions about SCALAR variables

2018-03-20 Thread David Knezevic
On Tue, Mar 20, 2018 at 1:24 PM, Salazar De Troya, Miguel < [email protected]> wrote: > Seeing the systems_of_equations_ex5 example: > > * Why is a SCALAR variable of order FIRST and not CONSTANT? I > understand it is a variable that takes the same value over the whole domain. > The orde

[Libmesh-users] Quick questions about SCALAR variables

2018-03-20 Thread Salazar De Troya, Miguel
Seeing the systems_of_equations_ex5 example: * Why is a SCALAR variable of order FIRST and not CONSTANT? I understand it is a variable that takes the same value over the whole domain. * How are SCALAR variables partitioned and to which processor are they sent? Thanks Miguel -- -