Re: [Libmesh-users] Writing mesh in parallel

2011-08-30 Thread robert
Am Freitag, den 26.08.2011, 09:09 -0500 schrieb Roy Stogner: > > On Fri, 26 Aug 2011, robert wrote: > > > probably not - it's the first time that I am working in parallel so I > > don't know how to do it yet. > > Instead of this: > > > MeshBase::const_element_iterator el = > > mesh.a

Re: [Libmesh-users] Writing mesh in parallel

2011-08-26 Thread Roy Stogner
On Fri, 26 Aug 2011, robert wrote: > probably not - it's the first time that I am working in parallel so I > don't know how to do it yet. Instead of this: > MeshBase::const_element_iterator el = > mesh.active_local_elements_begin(); > const MeshBase::const_element_iterator end_el =

Re: [Libmesh-users] Writing mesh in parallel

2011-08-26 Thread robert
Roy, probably not - it's the first time that I am working in parallel so I don't know how to do it yet. Would be great if you could give me a hint. Thanks in advance, Robert Here function I am using: std::cout << "set boundary_id's ..."; MeshBase& MB (mesh); MB.find_neighb

Re: [Libmesh-users] Writing mesh in parallel

2011-08-26 Thread Roy Stogner
On Fri, 26 Aug 2011, robert wrote: > is it possible that the boundary_ids have something to do with my > problem? > During the calculation I manually set the boundary ids by: > > mesh.boundary_info->add_node (nod, idval); > mesh.boundary_info->add_side (elem,s, idval); Are you doing this consist

Re: [Libmesh-users] Writing mesh in parallel

2011-08-26 Thread robert
Hi, is it possible that the boundary_ids have something to do with my problem? During the calculation I manually set the boundary ids by: mesh.boundary_info->add_node (nod, idval); mesh.boundary_info->add_side (elem,s, idval); If I write the mesh before everything works fine. In

[Libmesh-users] Writing mesh in parallel

2011-08-26 Thread robert
Hello, My calculation consists of several parts. For each part the geometry changes and I create a new mesh. I want to save the old mesh in a file by: new_equation_systems.write("../bgscratch/old_equation_systems.xdr"); new_mesh.write("../bgscratch/old_mesh.xdr"); If I run this code in