Hi,

Using create_submesh leads to a crash because Nodes with invalid id are
created. Here is the error from ParallelMesh::node_ptr function

Assertion `_nodes[i]' failed.

Here is the backtrace:

0: libMesh::print_trace(std::ostream&)
1: libMesh::MacroFunctions::report_error(char const*, int, char const*,
char const*)
2: libMesh::ParallelMesh::node_ptr(unsigned int)
3: libMesh::UnstructuredMesh::create_submesh(libMesh::UnstructuredMesh&,
libMesh::MeshBase::const_element_iterator&,
libMesh::MeshBase::const_element_iterator const&) const

The problematic line is unstructured_mesh.C:1056

              // Add this node to the new mesh
              new_mesh.add_point (old_elem->point(n));

This should be

              // Add this node to the new mesh
              new_mesh.add_point (old_elem->point(n), n_new_nodes);

Thanks,
Harshad
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to