Commit 7577dc28 authored by Cristian Lalescu's avatar 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
......@@ -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;
//////////////////////////////////////////////////////////////////////////////
///
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment