Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Jaap
dune-istl
Commits
a43015f8
Commit
a43015f8
authored
3 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
USe std::is_sorted to fix compile issue with DUNE_ISTL_WITH_CHECKING.
parent
b6080f4f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/repartition.hh
+2
-8
2 additions, 8 deletions
dune/istl/repartition.hh
with
2 additions
and
8 deletions
dune/istl/repartition.hh
+
2
−
8
View file @
a43015f8
...
...
@@ -1825,14 +1825,8 @@ namespace Dune
// DUNE_THROW(ISTLError, numOfOwnVtx<<"!="<<indexMap.globalOwnerVertices<<" owners missing or additional ones"
// <<" during repartitioning.");
// }
auto
index
=
outputIndexSet
.
begin
();
if
(
index
!=
end
)
{
++
index
;
for
(
auto
old
=
outputIndexSet
.
begin
();
index
!=
end
;
old
=
index
++
)
{
if
(
old
->
global
()
>
index
->
global
())
DUNE_THROW
(
ISTLError
,
"Index set's globalindex not sorted correctly"
);
}
}
std
::
is_sorted
(
outputIndexSet
.
begin
(),
outputIndexSet
.
end
(),
[](
const
auto
&
v1
,
const
auto
&
v2
){
return
v1
.
global
()
<
v2
.
global
();});
#endif
if
(
verbose
)
{
oocomm
.
communicator
().
barrier
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment