8 template <
typename ScalarType,
typename triangulationType>
10 std::stringstream res;
12 res <<
"cells : " << mesh_.getNumberOfCells() << std::endl;
13 res <<
"triangles : " << mesh_.getNumberOfTriangles() << std::endl;
14 res <<
"edges : " << mesh_.getNumberOfEdges() << std::endl;
15 res <<
"vertices : " << mesh_.getNumberOfVertices() << std::endl;
20 template <
typename ScalarType,
typename triangulationType>
24 = mesh_.getOrderedEdge(edgeId, localPropagation->
goUp());
25 std::stringstream res;
26 res <<
"e" << edgeId <<
":";
28 res << std::get<0>(oEdge) <<
" - " << std::get<1>(oEdge);
33 template <
typename ScalarType,
typename triangulationType>
36 std::stringstream res;
38 = mesh_.getOrderedTriangle(cellId, localPropagation->
goUp());
41 e0 = mesh_.getOrderedEdge(
42 std::get<0>(oTriangle), localPropagation->
goUp());
43 e1 = mesh_.getOrderedEdge(
44 std::get<1>(oTriangle), localPropagation->
goUp());
45 e2 = mesh_.getOrderedEdge(
46 std::get<2>(oTriangle), localPropagation->
goUp());
48 res <<
"t" << cellId <<
":";
50 res <<
" " << printEdge(std::get<0>(oTriangle), localPropagation);
51 res <<
" " << printEdge(std::get<1>(oTriangle), localPropagation);
52 res <<
" " << printEdge(std::get<2>(oTriangle), localPropagation);
57 template <
typename ScalarType,
typename triangulationType>
59 const int verbosity)
const {
60 std::cout << graph_.print(verbosity) << std::endl;
63 template <
typename ScalarType,
typename triangulationType>
65 Timer &timer,
const std::string &msg)
const {
std::string printTriangle(const idCell cellId, const Propagation *const localProp) const
void printTime(Timer &timer, const std::string &msg) const
void printGraph(const int verbosity) const
std::string printMesh() const
std::string printEdge(const idEdge edgeId, const Propagation *const localProp) const
TTK fTRGraph propagation management with Fibonacci heaps.
std::tuple< idVertex, idVertex > orderedEdge
Edge represented by its 2 vertices, lower then upper.
std::tuple< idEdge, idEdge, idEdge > orderedTriangle
Triangle represented by its 3 edges Edges are sorted by their starting vertex (see orderedEdge)
SimplexId idCell
Cell index in vect_cellList_.
SimplexId idEdge
Edge index in vect_edgeList_.
printMsg(debug::output::BOLD+" | | | | | . \\ | | (__| | / __/| |_| / __/|__ _|"+debug::output::ENDCOLOR, debug::Priority::PERFORMANCE, debug::LineMode::NEW, stream)