Hi guys, I am working with mesh data to store some data and have been running in to problems in the debug mode on assertions. I create a mesh data object, associate it with a mesh and set data for each element using the methods:
void MeshData::set_data(const Node *node, const std::vector< Number > & val) and void MeshData::set_data(const Elem *elem, const std::vector< Number > & val) But now, when I try to call get_data on MeshData, the assertion libmesh_assert (_elem_data_closed); fails in /libmesh/include/mesh/mesh_data.h, line 956. Of course, I'm out of ideas as to how to close() the mesh_data after setting the data for elems and nodes. Is there a simple call that would solve my problem or do I really have to call insert_node_data and insert_elem_data after building the entire array of data. IMO, the second method seems tedious and is a big requirement on the user part. Any ideas ? Vijay ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
