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
1f25946b
Commit
1f25946b
authored
1 year ago
by
Florian Atteneder
Browse files
Options
Downloads
Patches
Plain Diff
use maximum of max_v instead of v for time step estimation
parent
2cfe66a9
No related branches found
No related tags found
1 merge request
!91
make shock tube and blast wave tests run for SRHD when using MDA AV
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/SRHD/rhs.jl
+2
-2
2 additions, 2 deletions
src/SRHD/rhs.jl
with
2 additions
and
2 deletions
src/SRHD/rhs.jl
+
2
−
2
View file @
1f25946b
...
...
@@ -6,9 +6,9 @@ timestep(env, P, hrsc) = timestep(env, P, hrsc, env.mesh)
function
compute_maxspeed
(
mesh
,
equation
,
cache
)
@unpack
v
=
get_static_variables
(
cache
)
@unpack
max_
v
=
get_static_variables
(
cache
)
dg1d
.
new_broadcast_volume!
(
maxspeed
,
equation
,
mesh
)
vmax
=
dg1d
.
absolute_maximum
(
v
)
vmax
=
dg1d
.
absolute_maximum
(
max_
v
)
vmax_limit
=
1e4
if
vmax
>
vmax_limit
@warn
"Limiting timestep due to maximum speed exceeding
$
vmax_limit"
...
...
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