Skip to content
Snippets Groups Projects
Commit 3f38cd93 authored by Tomáš Jakubec's avatar Tomáš Jakubec
Browse files

log fix for linux system

parent 8996fc96
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.0, 2019-10-07T13:49:40. -->
<!-- Written by QtCreator 4.10.0, 2019-10-07T18:37:14. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......
......@@ -511,7 +511,7 @@ void testMesh3D() {
DBGMSG("3D edge orientation");
temp1::MeshApply<2, 1, 3>::apply(mesh3,[&mesh3](unsigned int , unsigned int , size_t faceIndex, size_t edgeIndex){
size_t iA = mesh3.getEdges().at(edgeIndex).getVertexAIndex(), iB =mesh3.getEdges().at(edgeIndex).getVertexBIndex();
DBGVAR(faceIndex,
HTMLDBGVAR(faceIndex,
edgeIndex,
iA, iB,
temp1::edgeIsLeft(mesh3,faceIndex, edgeIndex));
......@@ -767,13 +767,13 @@ int main()
{
//testMesh2D();
//testMesh2DLoadAndWrite();
//testMesh3D();
testMesh3D();
//test3DMeshDeformedPrisms();
//testMeshDataContainer();
//testTemplate();
//UnstructuredMesh<5, size_t, double, 6,5,4> m;
//m.ComputeElementMeasures();
testDebug();
//testDebug();
//test3DMeshLoad();
}
......@@ -40,7 +40,7 @@ public:
#ifdef __linux__
std::cerr << "In file " << cppFile << " at line " << line << " variable \033[0;33m" << name << "\033[0m has value of \033[0;31m";
_writeWar(value);
VariableExport::_writeWar(std::cerr, value);
std::cerr << "\033[0m\n";
#else
std::cerr << "In file " << cppFile << " at line " << line << " variable " << name << " has value of ";
......@@ -54,7 +54,7 @@ public:
#ifdef __linux__
std::cerr << "In file " << cppFile << " at line " << line << " variable \033[0;33m" << name << "\033[0m has value of \033[0;31m";
_writeWar(value);
VariableExport::_writeWar(std::cerr, value);
std::cerr << "\033[0m\n";
#else
std::cerr << "In file " << cppFile << " at line " << line << " variable " << name << " has value of ";
......
......@@ -114,7 +114,7 @@ struct VariableExport {
template<typename T1, typename T2>
static auto _writeWar(std::ostream& ost, const std::pair<T1,T2>& b)
static auto _writeWar(std::ostream& ost, const std::pair<T1,T2>& b) -> void
{
ost << "{ ";
_writeWar(ost, b.first);
......
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