Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DG1d.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
DG
DG1d.jl
Commits
02b11157
Commit
02b11157
authored
1 year ago
by
Florian Atteneder
Browse files
Options
Downloads
Patches
Plain Diff
fix up dispatch of register_variables; fix up smoothing on initial data
parent
f4e06edd
No related branches found
Branches containing commit
No related tags found
1 merge request
!91
make shock tube and blast wave tests run for SRHD when using MDA AV
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/SRHD/initialdata.jl
+1
-0
1 addition, 0 deletions
src/SRHD/initialdata.jl
src/SRHD/setup.jl
+1
-1
1 addition, 1 deletion
src/SRHD/setup.jl
with
2 additions
and
1 deletion
src/SRHD/initialdata.jl
+
1
−
0
View file @
02b11157
...
...
@@ -525,6 +525,7 @@ end
initialdata_smooth!
(
env
,
P
::
Project
,
mesh
::
Mesh
{
FVElement
})
=
nothing
function
initialdata_smooth!
(
env
,
P
::
Project
,
mesh
)
!
isregistered
(
mesh
.
cache
,
:
mu
)
&&
return
@unpack
D
,
S
,
tau
=
get_dynamic_variables
(
mesh
.
cache
)
@unpack
mu
=
get_cell_variables
(
mesh
.
cache
)
bernstein
=
BernsteinReconstruction
(
mesh
)
...
...
This diff is collapsed.
Click to expand it.
src/SRHD/setup.jl
+
1
−
1
View file @
02b11157
...
...
@@ -163,7 +163,7 @@ function _register_variables!(mesh::Mesh2d, hrsc::HRSC.EntropyViscosity, prms)
end
function
_register_variables!
(
mesh
,
tci
::
TCI
.
AbstractTCI
,
prms
)
function
_register_variables!
(
mesh
,
tci
::
TCI
.
AbstractTCI
)
register_variables!
(
mesh
.
cache
,
cell_variablenames
=
(
:
flag
,
:
D_flag
,
:
S_flag
,
:
tau_flag
))
end
...
...
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