Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grudge
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
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
Andreas Klöckner
grudge
Merge requests
!75
Merge
!74
into
!71
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merge
!74
into
!71
array-context-merge
into
array-context
Overview
1
Commits
8
Pipelines
1
Changes
13
Merged
Alexandru Fikl
requested to merge
array-context-merge
into
array-context
4 years ago
Overview
1
Commits
8
Pipelines
1
Changes
13
Expand
Addresses
!74 (comment 48535)
.
0
0
Merge request reports
Compare
array-context
array-context (base)
and
latest version
latest version
df4ec218
8 commits,
4 years ago
13 files
+
119
−
94
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
Search (e.g. *.vue) (Ctrl+P)
examples/wave/wave-eager-mpi.py
+
3
−
3
Options
@@ -65,15 +65,15 @@ def wave_flux(discr, c, w_tpair):
0.5
*
normal_times
(
v_jump
),
)
return
discr
.
interp
(
w_tpair
.
dd
,
"
all_faces
"
,
c
*
flux_weak
)
return
discr
.
project
(
w_tpair
.
dd
,
"
all_faces
"
,
c
*
flux_weak
)
def
wave_operator
(
discr
,
c
,
w
):
u
=
w
[
0
]
v
=
w
[
1
:]
dir_u
=
discr
.
interp
(
"
vol
"
,
BTAG_ALL
,
u
)
dir_v
=
discr
.
interp
(
"
vol
"
,
BTAG_ALL
,
v
)
dir_u
=
discr
.
project
(
"
vol
"
,
BTAG_ALL
,
u
)
dir_v
=
discr
.
project
(
"
vol
"
,
BTAG_ALL
,
v
)
dir_bval
=
flat_obj_array
(
dir_u
,
dir_v
)
dir_bc
=
flat_obj_array
(
-
dir_u
,
dir_v
)
Loading