MCPcopy Create free account
hub / github.com/KratosMultiphysics/Kratos / IsSorted

Method IsSorted

kratos/containers/pointer_vector_set.h:963–966  ·  view source on GitHub ↗

* @brief Check if the data container is sorted. * @details This function checks if the sorted portion of the data, indicated by the member variable mSortedPartSize, is equal to the total size of the data container mData. This is used to determine if the data is sorted. * @return True if the data is sorted, false otherwise. */

Source from the content-addressed store, hash-verified

961 * @return True if the data is sorted, false otherwise.
962 */
963 bool IsSorted() const
964 {
965 return (mSortedPartSize == mData.size());
966 }
967
968 ///@}
969 ///@name Input and output

Callers 2

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected