OGS
|
Functions | |
bool | includesAllEdgeNodeIDs (std::vector< std::size_t > const &vec_node_ids, MeshLib::Element const &edge, std::vector< std::size_t > &edge_node_distances) |
MeshLib::Element * | modifyEdgeNodeOrdering (const MeshLib::Element &edge, const GeoLib::Polyline &ply, const std::vector< std::size_t > &edge_node_distances_along_ply, const std::vector< std::size_t > &node_ids_on_poly) |
bool anonymous_namespace{BoundaryElementsAlongPolyline.cpp}::includesAllEdgeNodeIDs | ( | std::vector< std::size_t > const & | vec_node_ids, |
MeshLib::Element const & | edge, | ||
std::vector< std::size_t > & | edge_node_distances ) |
Check if a vector of node IDs includes all nodes of a given element
vec_node_ids | a vector of Node IDs |
edge | Edge object whose node IDs are checked |
edge_node_distances | a vector of distances of the edge nodes from the beginning of the given node ID vector |
Definition at line 34 of file BoundaryElementsAlongPolyline.cpp.
References MeshLib::Element::getNumberOfBaseNodes().
MeshLib::Element * anonymous_namespace{BoundaryElementsAlongPolyline.cpp}::modifyEdgeNodeOrdering | ( | const MeshLib::Element & | edge, |
const GeoLib::Polyline & | ply, | ||
const std::vector< std::size_t > & | edge_node_distances_along_ply, | ||
const std::vector< std::size_t > & | node_ids_on_poly ) |
Modify node ordering of an edge so that its first node is closer to the beginning of a polyline than others
edge | Element object |
ply | Polyline object |
edge_node_distances_along_ply | A vector of current edge node distances along poly |
node_ids_on_poly | A vector of node IDs along the polyine |
Definition at line 67 of file BoundaryElementsAlongPolyline.cpp.
References GeoLib::Polyline::isClosed(), and OGS_FATAL.