Skip to content
Snippets Groups Projects
Commit c052f84a authored by Tom Fischer's avatar Tom Fischer
Browse files

Using logog for logging within the hex mesh element.

parent 29b9ccab
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@
* Created on 2012-05-02 by Karsten Rink
*/
#include "logog/include/logog.hpp"
#include "Node.h"
#include "Quad.h"
#include "Prism.h"
......@@ -101,7 +103,7 @@ const Element* TemplateHex<NNODES,CELLHEXTYPE>::getFace(unsigned i) const
nodes[j] = _nodes[_face_nodes[i][j]];
return new Quad(nodes);
}
std::cerr << "Error in MeshLib::Element::getFace() - Index does not exist." << std::endl;
ERR("Error in MeshLib::Element::getFace() - Index %d does not exist.", i);
return NULL;
}
......@@ -149,7 +151,7 @@ Element* TemplateHex<NNODES,CELLHEXTYPE>::reviseElement() const
}
if (collapsed_edges.size() == 1) {
std::cerr << "[TemplateHex<NNODES,CELLHEXTYPE>::reviseElement()] collapsing of one edge in hexahedron not handled" << std::endl;
ERR("[TemplateHex<NNODES,CELLHEXTYPE>::reviseElement()] collapsing of one edge in hexahedron not handled.");
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment