Small question regarding this, how does this work for LAGRANGE_VEC variables. 
If u has components u1 u2 and u3 are these arranged in order or are they 
arranged the same way as u,v and p are arranged. I am also unsure how to add 
terms into the element force vector and the element matrix? Does the += 
operator automatically take into account the fact that there are multiple 
components? 
Thanks, 
 

Subramanya Sadasiva 

"But memory eventually fades. Turbulences damp out, internal strains yield to 
plastic flow, concentration inhomogeneities diffuse to uniformity. Systems tend 
to subside to very simple states,independent of their specific history."
Herbert Callen . Thermodynamics and an Introduction to Thermostatics.

----- Original Message -----
From: "David Knezevic" <[email protected]>
To: "Roy Stogner" <[email protected]>
Cc: [email protected]
Sent: Tuesday, March 12, 2013 5:10:59 PM
Subject: Re: [Libmesh-users] variables at node

On 03/12/2013 05:09 PM, Roy Stogner wrote:
>
> On Tue, 12 Mar 2013, David Knezevic wrote:
>
>> Quick question though, because I'm not sure I understand how this 
>> works when we're numbering in "var major" order. Suppose we have 
>> variables "u", "v" and "p", then the dof indices corresponding to any 
>> particular node would typically be very far apart when we use 
>> var-major ordering. And I also thought that local dof indices are 
>> always contiguous (i.e. they're between first_local_index and 
>> last_local_index), so it's not clear to me how these "very far apart" 
>> dof indices would end up on a single processor, i.e. the same 
>> processor as the node?
>
> The trick is that the phrase "var major" is a lie.  "var major"
> doesn't mean "first order by variables, then order by nodes", it means
> "first order by processor id, then by variables, then by nodes".

OK, makes sense, thanks!

David


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to