Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-gdt
Commits
963fe31b
Commit
963fe31b
authored
4 years ago
by
Tobias Leibner
Browse files
Options
Downloads
Patches
Plain Diff
[momentmodels.min_density] fix std::atomic construction
parent
dc3a5ab6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/shared
+1
-1
1 addition, 1 deletion
.ci/shared
dune/gdt/test/momentmodels/min_density_setter.hh
+2
-2
2 additions, 2 deletions
dune/gdt/test/momentmodels/min_density_setter.hh
with
3 additions
and
3 deletions
shared
@
a08102fe
Compare
2f4df970
...
a08102fe
Subproject commit
2f4df9705ce37c6144befb1b1db336ad975a7ef6
Subproject commit
a08102fed49dae633a61d7f4a0c76370c42037eb
This diff is collapsed.
Click to expand it.
dune/gdt/test/momentmodels/min_density_setter.hh
+
2
−
2
View file @
963fe31b
...
...
@@ -169,7 +169,7 @@ public:
static
const
bool
adjust
=
DXTC_CONFIG_GET
(
"adjust_alpha"
,
0
);
if
(
!
adjust
)
return
;
std
::
atomic
<
bool
>
changed
=
false
;
std
::
atomic
<
bool
>
changed
(
false
)
;
LocalMinDensitySetterType
local_min_density_setter
(
space_
,
alpha
,
range
,
analytical_flux_
,
min_acceptable_density_
,
param
.
get
(
"dt"
)[
0
],
changed
);
auto
walker
=
XT
::
Grid
::
Walker
<
typename
SpaceType
::
GridViewType
>
(
space_
.
grid_view
());
...
...
@@ -182,7 +182,7 @@ public:
static
const
bool
adjust
=
DXTC_CONFIG_GET
(
"adjust_alpha"
,
0
);
if
(
!
adjust
)
return
false
;
std
::
atomic
<
bool
>
changed
=
false
;
std
::
atomic
<
bool
>
changed
(
false
)
;
LocalMinDensitySetterType
local_min_density_setter
(
space_
,
alpha
,
range
,
analytical_flux_
,
min_acceptable_density_
,
dt
,
changed
);
auto
walker
=
XT
::
Grid
::
Walker
<
typename
SpaceType
::
GridViewType
>
(
space_
.
grid_view
());
...
...
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