|
Hi, Since no one responded to my proposal concerning the MeshData class I send a code part requesting you to add this member function to the MeshData class. I don't know if that function will give a conflict to the all over ideology of that class. Please let me know if so. For progress of my programming that functionality of the meshdata class is essential. Thanks a lot. Best regards Ingo void MeshData::set_data(Node* node, std::vector<Number> nod_val) { if(has_data(node) && nod_val.size() == (this->get_data(node)).size()) this->_node_data[node] = nod_val; #ifdef DEBUG else if (has_data(node) && nod_val.size() != (this->get_data(node)).size()) { std::cerr << "ERROR: Unequal size of data vectors for this node "<<node->id()<<"." << std::endl; error(); } else { std::cerr << "ERROR: No data for this node "<<node->id()<<"." << std::endl; error(); } #endif } -- Dipl.-Ing. Ingo Schmidt Institute of Modelling and Computation Hamburg University of Technology tel: +49/(0)40/42878-4483 Denickestr.17 fax: +49/(0)40/42878-4353 Building L/ room: 3032 21075 Hamburg http://www.mub.TU-Harburg.de |
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
