2 AM
> To: libmesh-users@lists.sourceforge.net
> Subject: RE: [Libmesh-users] Primitive variables
>
> A few simple questions that I had regarding vectors:
>
> 1) How can I initialize them to a particular value? Can i just resize them to
> n_dof and then add a scalar?
> 2) W
: Tuesday, July 15, 2014 3:09 PM
To: Sahai, Amal
Subject: Re: [Libmesh-users] Primitive variables
That's precisely what I do in my code. Depends on what you mean by efficient ;
clearly that requires more storage but usually provides a speed benefit because
you do not need to repeatedly recalc
: Tuesday, July 15, 2014 3:09 PM
To: Sahai, Amal
Subject: Re: [Libmesh-users] Primitive variables
That's precisely what I do in my code. Depends on what you mean by efficient ;
clearly that requires more storage but usually provides a speed benefit because
you do not need to repeatedly recalc
On Tue, 15 Jul 2014, Sahai, Amal wrote:
> I have a compressible flow solver that solves for the conservative
> variables. I was wondering what would be the best way to store
> primitive variables? Right now I have attached a vector to the
> system that I solve and I update it after every iteratio
I have a compressible flow solver that solves for the conservative variables. I
was wondering what would be the best way to store primitive variables? Right
now I have attached a vector to the system that I solve and I update it after
every iteration (I assemble it the way the system matrix is a