Re: [deal.II] Re: Data exchanges in IO

2016-08-23 Thread Wolfgang Bangerth
Thanks, that looks like it works. I don't have any problems left with getting the output to work now, but for my own clarification, I'd like to have a better understanding of how vectors work and what compress actually does. I get the impression that modifying vector elements results in some loc

[deal.II] Re: Data exchanges in IO

2016-08-23 Thread bjpalmer58
Daniel, Thanks, that looks like it works. I don't have any problems left with getting the output to work now, but for my own clarification, I'd like to have a better understanding of how vectors work and what compress actually does. I get the impression that modifying vector elements results i

[deal.II] Re: Data exchanges in IO

2016-08-17 Thread Daniel Arndt
Bruce, You were just missing p_rho.compress(VectorOperation::insert); after assemble_system(). Best, Daniel Am Mittwoch, 17. August 2016 21:01:22 UTC+2 schrieb bjpal...@gmail.com: > > > > On Tuesday, August 16, 2016 at 2:47:18 AM UTC-7, Daniel Arndt wrote: >> >> Bruce, >> >> [...] 3. Like in 2.

[deal.II] Re: Data exchanges in IO

2016-08-17 Thread bjpalmer58
On Tuesday, August 16, 2016 at 2:47:18 AM UTC-7, Daniel Arndt wrote: > > Bruce, > > [...] 3. Like in 2., but for adding values to individual elements. Use >> VectorOperation::add. >> >> I guess 3) is obscure. Does this mean that you are adding a new element >> where none existed before or that

[deal.II] Re: Data exchanges in IO

2016-08-16 Thread Daniel Arndt
Bruce, [...] 3. Like in 2., but for adding values to individual elements. Use > VectorOperation::add. > > I guess 3) is obscure. Does this mean that you are adding a new element > where none existed before or that you are incrementing an existing element? > If the former, aren't the total numb

[deal.II] Re: Data exchanges in IO

2016-08-15 Thread bjpalmer58
On Friday, August 12, 2016 at 4:05:33 PM UTC-7, Daniel Arndt wrote: > > Bruce, > > > >> The p_local_solution vector is filled with values as the result of >> solving a linear equation, p_local_rho is filled with values by looping >> over individual elements and assigning values calculated f

[deal.II] Re: Data exchanges in IO

2016-08-12 Thread Daniel Arndt
Bruce, The p_local_solution vector is filled with values as the result of solving > a linear equation, p_local_rho is filled with values by looping over > individual elements and assigning values calculated from other quantities. > Part of the reason the p_local_rho vector doesn't have ghost no