Skip to content

Commit 810b49a

Browse files
Merge pull request #13817 from KratosMultiphysics/core/add-IsThreadSafe-to-sparse-graphs
[FastPR][Core] Add IsThreadSafe to sparse graphs
2 parents 012309a + 0a0160d commit 810b49a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

kratos/containers/sparse_contiguous_row_graph.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ class SparseContiguousRowGraph final
419419
///@name Inquiry
420420
///@{
421421

422+
static constexpr bool IsThreadSafe = true;
422423

423424
///@}
424425
///@name Input and output

kratos/containers/sparse_graph.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ class SparseGraph final
406406
///@name Inquiry
407407
///@{
408408

409+
static constexpr bool IsThreadSafe = false;
409410

410411
///@}
411412
///@name Input and output

0 commit comments

Comments
 (0)