Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dg
dg
Commits
753bc118
Commit
753bc118
authored
Jan 26, 2017
by
Valentin Vallaeys
Browse files
fix coriolis precomputed for order > 1
parent
7f8977af
Pipeline
#1712
passed with stage
in 26 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dgpy/scripts/slim.py
View file @
753bc118
...
...
@@ -532,7 +532,7 @@ class ShallowWater2d:
netcdf or .msh file containing the coriolis term for the whole domain.
"""
self
.
_coriolis
=
slim_private
.
_load_function
(
coriolis
,
self
.
_domain
.
_groups
)
self
.
_coriolis_PC
=
dgpy
.
functionPrecomputed
(
self
.
_domain
.
_groups
,
3
)
self
.
_coriolis_PC
=
dgpy
.
functionPrecomputed
(
self
.
_domain
.
_groups
,
self
.
_domain
.
_order
*
2
+
1
)
self
.
_coriolis_PC
.
compute
(
self
.
_coriolis
)
self
.
_equation
.
setCoriolisFactor
(
self
.
_coriolis_PC
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment