Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TurTLE
TurTLE
Commits
7577dc28
Commit
7577dc28
authored
Jun 29, 2020
by
Cristian Lalescu
Browse files
use cpp random particles for scaling test
also fix template parameters
parent
e9be1833
Pipeline
#77448
passed with stages
in 9 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cpp/particles/particles_system_builder.hpp
View file @
7577dc28
...
...
@@ -40,7 +40,7 @@
#include "kspace.hpp"
const
int
MAX_INTERPOLATION_NEIGHBOURS
=
5
;
const
int
MAX_INTERPOLATION_SMOOTHNESS
=
2
;
const
int
MAX_INTERPOLATION_SMOOTHNESS
=
3
;
//////////////////////////////////////////////////////////////////////////////
///
...
...
tests/DNS/test_scaling.py
View file @
7577dc28
...
...
@@ -57,6 +57,7 @@ def get_DNS_parameters(
DNS_parameters
+=
[
'--precision'
,
'double'
]
# check that source sim exists
print
(
'looking for '
,
os
.
path
.
join
(
src_dirname
,
src_simname
+
'.h5'
))
assert
(
os
.
path
.
exists
(
os
.
path
.
join
(
src_dirname
,
src_simname
+
'.h5'
)))
# check that source checkpoint exists
dns_src
=
TurTLE
.
DNS
(
simname
=
src_simname
,
work_dir
=
src_dirname
)
...
...
@@ -87,7 +88,7 @@ def get_DNS_parameters(
DNS_parameters
+=
[
'--tracers0_neighbours'
,
'{0}'
.
format
(
nneighbours
),
'--tracers0_smoothness'
,
'{0}'
.
format
(
smoothness
),
'--
particle-rand-seed
'
,
'2'
]
'--
cpp_random_particles
'
,
'2'
]
if
no_submit
:
DNS_parameters
+=
[
'--no-submit'
]
DNS_parameters
+=
[
'--environment'
,
environment
,
...
...
Write
Preview
Markdown
is supported
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