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
1e585eb8
Commit
1e585eb8
authored
1 year ago
by
EXT Jean-Matthieu Etancelin
Browse files
Options
Downloads
Patches
Plain Diff
[skip-testing] fix box parameter in some examples
parent
04032f47
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#141615
passed
1 year ago
Stage: doc
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/hysop-doc
+1
-1
1 addition, 1 deletion
docs/hysop-doc
hysop_examples/examples/analytic/analytic.py
+1
-1
1 addition, 1 deletion
hysop_examples/examples/analytic/analytic.py
hysop_examples/examples/tasks/tasks.py
+1
-1
1 addition, 1 deletion
hysop_examples/examples/tasks/tasks.py
with
3 additions
and
3 deletions
hysop-doc
@
b99e5337
Compare
5314be67
...
b99e5337
Subproject commit
5314be67c8feeb5eaaf9b59f180e4b8d2345f543
Subproject commit
b99e5337296d7338b25ec0e047e47017f438b90d
This diff is collapsed.
Click to expand it.
hysop_examples/examples/analytic/analytic.py
+
1
−
1
View file @
1e585eb8
...
...
@@ -149,7 +149,7 @@ if __name__ == '__main__':
description
=
description
,
default_dump_dir
=
default_dump_dir
)
parser
.
set_defaults
(
box_
start
=
(
0.0
,),
box_length
=
(
2
*
np
.
pi
,),
parser
.
set_defaults
(
box_
origin
=
(
0.0
,),
box_length
=
(
2
*
np
.
pi
,),
tstart
=
0.0
,
tend
=
10.0
,
nb_iter
=
100
,
dump_freq
=
5
)
...
...
This diff is collapsed.
Click to expand it.
hysop_examples/examples/tasks/tasks.py
+
1
−
1
View file @
1e585eb8
...
...
@@ -199,7 +199,7 @@ if __name__ == '__main__':
default_dump_dir
=
default_dump_dir
)
proc_tasks
=
tuple
(
TASK_A
if
_
==
0
else
TASK_B
for
_
in
range
(
mpi
.
COMM_WORLD
.
Get_size
()))
parser
.
set_defaults
(
box_
start
=
(
0.0
,),
box_length
=
(
2
*
np
.
pi
,),
parser
.
set_defaults
(
box_
origin
=
(
0.0
,),
box_length
=
(
2
*
np
.
pi
,),
tstart
=
0.0
,
tend
=
10.0
,
nb_iter
=
1
,
dump_freq
=
5
,
proc_tasks
=
proc_tasks
)
parser
.
run
(
compute
)
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