Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
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
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
particle_methods
hysop
Commits
bf343ff8
Commit
bf343ff8
authored
7 years ago
by
Jean-Baptiste Keck
Browse files
Options
Downloads
Patches
Plain Diff
added verbose flasg
parent
d6ffaecb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/scalar_advection/scalar_advection.py
+3
-0
3 additions, 0 deletions
examples/scalar_advection/scalar_advection.py
with
3 additions
and
0 deletions
examples/scalar_advection/scalar_advection.py
+
3
−
0
View file @
bf343ff8
import
hysop
from
hysop
import
IO
,
IOParams
,
Field
,
Box
,
\
from
hysop
import
IO
,
IOParams
,
Field
,
Box
,
\
Simulation
,
Problem
Simulation
,
Problem
from
hysop.deps
import
np
from
hysop.deps
import
np
...
@@ -12,6 +13,8 @@ from hysop.methods import StrangOrder, Remesh, TimeIntegrator, \
...
@@ -12,6 +13,8 @@ from hysop.methods import StrangOrder, Remesh, TimeIntegrator, \
from
hysop.numerics.splitting.strang
import
StrangSplitting
from
hysop.numerics.splitting.strang
import
StrangSplitting
from
hysop.numerics.odesolvers.runge_kutta
import
Euler
,
RK2
,
RK3
,
RK4
from
hysop.numerics.odesolvers.runge_kutta
import
Euler
,
RK2
,
RK3
,
RK4
hysop
.
__VERBOSE__
=
True
IO
.
set_default_path
(
'
/tmp/scalar_advection
'
)
IO
.
set_default_path
(
'
/tmp/scalar_advection
'
)
pi
=
np
.
pi
pi
=
np
.
pi
...
...
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