Definition at line 28 of file MeshUtils.cpp.
◆ IsCrackTip()
ProcessLib::LIE::anonymous_namespace{MeshUtils.cpp}::IsCrackTip::IsCrackTip |
( |
MeshLib::Mesh const & | mesh | ) |
|
|
inlineexplicit |
Definition at line 31 of file MeshUtils.cpp.
33 {
35
37 nodeSearch.searchBoundaryNodes();
38 for (auto i : nodeSearch.getSearchedNodeIDs())
39 {
41 }
42 }
unsigned getDimension() const
Returns the dimension of the mesh (determined by the maximum dimension over all elements).
std::size_t getNumberOfNodes() const
Get the number of nodes.
unsigned const _fracture_element_dim
MeshLib::Mesh const & _mesh
std::vector< bool > _is_internal_node
References MeshLib::NodeSearch::searchBoundaryNodes().
◆ operator()()
bool ProcessLib::LIE::anonymous_namespace{MeshUtils.cpp}::IsCrackTip::operator() |
( |
MeshLib::Node const & | node | ) |
const |
|
inline |
Definition at line 44 of file MeshUtils.cpp.
45 {
48 {
49 return false;
50 }
51
52 auto const elements_connected_to_node =
54 auto const n_connected_fracture_elements =
55 count_if(cbegin(elements_connected_to_node),
56 cend(elements_connected_to_node),
57 [&](auto* const e)
59 assert(n_connected_fracture_elements > 0);
60
61 return (n_connected_fracture_elements == 1);
62 }
std::vector< Element const * > const & getElementsConnectedToNode(std::size_t node_id) const
bool isBaseNode(Node const &node, std::vector< Element const * > const &elements_connected_to_node)
References MathLib::Point3dWithID::getID().
◆ _fracture_element_dim
unsigned const ProcessLib::LIE::anonymous_namespace{MeshUtils.cpp}::IsCrackTip::_fracture_element_dim |
|
private |
◆ _is_internal_node
std::vector<bool> ProcessLib::LIE::anonymous_namespace{MeshUtils.cpp}::IsCrackTip::_is_internal_node |
|
private |
◆ _mesh
MeshLib::Mesh const& ProcessLib::LIE::anonymous_namespace{MeshUtils.cpp}::IsCrackTip::_mesh |
|
private |
The documentation for this class was generated from the following file: