Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
dune-fem
dune-fem-dg
Commits
fde13a8a
Commit
fde13a8a
authored
4 years ago
by
Robert K
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused python import.
parent
28a7d4b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!15
Exchange troubled cell
Pipeline
#28780
failed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pydemo/euler/main.py
+3
-2
3 additions, 2 deletions
pydemo/euler/main.py
with
3 additions
and
2 deletions
pydemo/euler/main.py
+
3
−
2
View file @
fde13a8a
import
mpi4py.rc
#
import mpi4py.rc
# mpi4py.rc.threaded = False
from
dune.fem
import
parameter
from
dune.femdg.testing
import
run
...
...
@@ -12,13 +12,14 @@ from euler import sod as problem
dim
=
2
gamma
=
1.4
parameter
.
append
({
"
fem.verboserank
"
:
-
1
})
parameter
.
append
({
"
fem.verboserank
"
:
0
})
primitive
=
lambda
Model
,
uh
:
{
"
pressure
"
:
Model
.
toPrim
(
uh
)[
2
]}
parameters
=
{
"
fem.ode.odesolver
"
:
"
EX
"
,
"
fem.timeprovider.factor
"
:
0.25
,
"
fem.ode.order
"
:
3
,
"
femdg.limiter.admissiblefunctions
"
:
1
,
"
femdg.limiter.indicator
"
:
1
,
"
femdg.limiter.tolerance
"
:
1
,
"
femdg.limiter.epsilon
"
:
1e-8
}
#-----------------
...
...
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