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
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
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.
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
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
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
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