Re: [Libmesh-users] Problems with reading the mesh in parallel

2014-08-30 Thread Miguel Angel Salazar de Troya
I ended up adding the boundary conditions in the file instead of inside the program. More handy I guess. On Fri, Aug 29, 2014 at 9:19 PM, Miguel Angel Salazar de Troya < [email protected]> wrote: > I've realized that the error comes from here > > dof_id_type last_elem = mesh.n_active_elem

Re: [Libmesh-users] Problems with reading the mesh in parallel

2014-08-29 Thread Miguel Angel Salazar de Troya
I've realized that the error comes from here dof_id_type last_elem = mesh.n_active_elem()-1; mesh.boundary_info->add_side(last_elem,2,0); Basically I want to add a boundary condition to the top of the last element. Can I only do it calling it from its processor? On Fri, Aug 29, 2014 at 8:45 PM,