Starts the analysis.
41{
42 MeshLib::Mesh const& mesh(
43 *
_mesh_vec[this->meshListBox->currentIndex()].get());
44
45 MeshLib::NodeSearch ns(mesh);
46 ns.searchUnused();
47 const std::vector<std::size_t> unusedNodesIdx(ns.getSearchedNodeIDs());
48 MeshToolsLib::MeshRevision rev(const_cast<MeshLib::Mesh&>(mesh));
49 std::vector<std::size_t> const& collapsibleNodeIds(rev.collapseNodeIndices(
50 this->collapsibleNodesThreshold->text().toDouble() +
51 std::numeric_limits<double>::epsilon()));
52 this->nodesGroupBox->setTitle(
53 "Nodes (out of " + QString::number(mesh.getNumberOfNodes()) + ")");
55
56 const std::vector<ElementErrorCode> element_error_codes(
58 mesh,
59 this->zeroVolumeThreshold->text().toDouble() +
60 std::numeric_limits<double>::epsilon()));
61 this->elementsGroupBox->setTitle(
62 "Elements (out of " + QString::number(mesh.getNumberOfElements()) +
63 ")");
65
67 if (n_holes > 0)
68 {
69 this->meshHoleOutputLabel->setText(
70 "<strong>" + QString::number(n_holes) +
71 " hole(s) found within the mesh</strong>");
72 }
73}
void elementsMsgOutput(const std::vector< ElementErrorCode > &error_codes)
Prepares the output for the node message window.
void nodesMsgOutput(std::vector< std::size_t > const &node_ids, std::vector< std::size_t > const &collapsibleNodeIds)
Prepares the output for the node message window.