I've pasted a simple patch for mesh_base.C below (didn't want to check
in right away, since it's a core class). The issue is that I currently
get a segfault when I create a boundary mesh and then clone it because
_partitioner is NULL. OK to check in?
David
Index: src/mesh/mesh_base.C
===================================================================
--- src/mesh/mesh_base.C (revision 5913)
+++ src/mesh/mesh_base.C (working copy)
@@ -66,10 +66,14 @@
_dim (other_mesh._dim),
_is_prepared (other_mesh._is_prepared),
_point_locator (NULL),
- _partitioner (other_mesh._partitioner->clone()),
+ _partitioner (NULL),
_skip_partitioning(other_mesh._skip_partitioning),
_skip_renumber_nodes_and_elements(false)
{
+ if(other_mesh._partitioner.get())
+ {
+ _partitioner = other_mesh._partitioner->clone();
+ }
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel