Re: [Libmesh-users] create_pid_mesh

2012-11-24 Thread Andrew E Slaughter
Thanks, I might end up doing that. But, I need to write the node position in order according to there global ids, so looping through the nodes doesn't provide the nodes in order. So, I would need to store the node data, sort it, then write it. This is possible, I am just exploring simpler alternati

Re: [Libmesh-users] create_pid_mesh

2012-11-24 Thread Cody Permann
On Sat, Nov 24, 2012 at 8:34 AM, Andrew E Slaughter < andrew.e.slaugh...@gmail.com> wrote: > Roy, I need to loop over the local nodes as well as the elements. When I > did this with local_nodes_begin() and local_nodes_end() it works except > that the nodes did not repeat for elements. For example

Re: [Libmesh-users] create_pid_mesh

2012-11-24 Thread Andrew E Slaughter
Roy, I need to loop over the local nodes as well as the elements. When I did this with local_nodes_begin() and local_nodes_end() it works except that the nodes did not repeat for elements. For example if element 1 is on processes 1 that process may contain all the nodes for the element. If element