==108666== Conditional jump or move depends on uninitialised value(s)
==108666== at 0x409595: _M_insert_unique (stl_tree.h:1171)
==108666== by 0x409595: std::set<int, std::less<int>, std::allocator<int> >::insert(int const&) (stl_set.h:411)
==108666== by 0x413AF8: partition(HYBRID_MESH&, HYBRID_MESH*, int, int, int, int) (refinefunctions.cpp:202)
==108666== by 0x408C63: main (main.cpp:252)
==108666==
==108666== Invalid read of size 4
==108666== at 0x409588: _M_insert_unique (stl_tree.h:1170)
==108666== by 0x409588: std::set<int, std::less<int>, std::allocator<int> >::insert(int const&) (stl_set.h:411)
==108666== by 0x413AF8: partition(HYBRID_MESH&, HYBRID_MESH*, int, int, int, int) (refinefunctions.cpp:202)
==108666== by 0x408C63: main (main.cpp:252)
==108666== Address 0x544f4f524c4b4d20 is not stack'd, malloc'd or (recently) free'd
==108666==
==108666==
==108666== Process terminating with default action of signal 2 (SIGINT)
==108666== at 0x4F3FA65: catchit (in /usr/sw-cluster/mpi2/lib/libmpi.so.12.0.5)
==108666== by 0x3BA7C0F7DF: ??? (in /lib64/libpthread-2.12.so)
==108666== by 0x409587: _M_insert_unique (stl_tree.h:1170)
==108666== by 0x409587: std::set<int, std::less<int>, std::allocator<int> >::insert(int const&) (stl_set.h:411)
==108666== by 0x413AF8: partition(HYBRID_MESH&, HYBRID_MESH*, int, int, int, int) (refinefunctions.cpp:202)
==108666== by 0x408C63: main (main.cpp:252)
这是其中一部分的错误log,
不是很明白为什么insert int变量会出现这种错误。