Skip to content
Snippets Groups Projects
Commit 854d7183 authored by lhausamm's avatar lhausamm
Browse files

setting time when loading (+ decrease time required for test_cooling)

parent a0d11dce
No related branches found
No related tags found
1 merge request!1Init
...@@ -54,6 +54,7 @@ PyMODINIT_FUNC PyInit_wrapper(void) ...@@ -54,6 +54,7 @@ PyMODINIT_FUNC PyInit_wrapper(void)
{ {
PyObject *m; PyObject *m;
clocks_set_cpufreq(0);
import_array(); import_array();
Py_Initialize(); Py_Initialize();
m = PyModule_Create(&wrapper_cmodule); m = PyModule_Create(&wrapper_cmodule);
......
...@@ -19,8 +19,8 @@ gamma = 5. / 3. ...@@ -19,8 +19,8 @@ gamma = 5. / 3.
filename = "test/cooling.yml" filename = "test/cooling.yml"
# number of points # number of points
N_rho = 3000 N_rho = 300
N_T = 3000 N_T = 300
# density in atom / cm3 # density in atom / cm3
if N_rho == 1: if N_rho == 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment