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

Re: [Libmesh-users] create_pid_mesh

2012-11-20 Thread Roy Stogner
On Tue, 20 Nov 2012, Andrew E Slaughter wrote: > I think I might of solved my problem by disabling the partitioning on the > pid_mesh (pid_mesh.skip_partioning(true)). I still need to do some testing. Why create the pid_mesh in the first place? If you want each processor to work on its local el

Re: [Libmesh-users] create_pid_mesh

2012-11-20 Thread Andrew E Slaughter
I think I might of solved my problem by disabling the partitioning on the pid_mesh (pid_mesh.skip_partioning(true)). I still need to do some testing. On Tue, Nov 20, 2012 at 3:36 PM, Andrew E Slaughter < andrew.e.slaugh...@gmail.com> wrote: > Hello, > I am working on writing files in parallel and

[Libmesh-users] create_pid_mesh

2012-11-20 Thread Andrew E Slaughter
Hello, I am working on writing files in parallel and would like to work on each portion of the partitioned mesh, so I am trying to work with the create_pid_mesh. If I understand correctly, this function should create a Mesh object that behaves like an unpartitioned mesh, so if I have a file that ca