Skip to content
Snippets Groups Projects
Commit 29c65454 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Revert bad changes

parent a97c830f
No related branches found
No related tags found
1 merge request!176Tasks cleanup
......@@ -16,7 +16,7 @@ TimeIntegration:
time_begin: 0. # The starting time of the simulation (in internal units).
time_end: 1e-4 # The end time of the simulation (in internal units).
dt_min: 1e-7 # The minimal time-step size of the simulation (in internal units).
dt_max: 1e-4 # The maximal time-step size of the simulation (in internal units).
dt_max: 1e-2 # The maximal time-step size of the simulation (in internal units).
# Parameters governing the snapshots
Snapshots:
......@@ -43,19 +43,3 @@ SPH:
# Parameters related to the initial conditions
InitialConditions:
file_name: ./cosmoVolume.hdf5 # The file to read
# Parameters govering domain decomposition
DomainDecomposition:
initial_type: m # The initial strategy ("g", "m", "w", or "v"). See documentation for details.
initial_grid_x: 10 # Grid size if the 'g' strategy is chosen.
initial_grid_y: 10
initial_grid_z: 10
repartition_type: b # The re-decomposition strategy ("n", "b", "v", "e" or "x"). See documentation for details.
# External potential parameters
PointMass:
position_x: 5. # location of external point mass in internal units
position_y: 5.
position_z: 5.
mass: 1. # mass of external point mass in internal units
......@@ -40,11 +40,11 @@ bin_PROGRAMS += swift_mpi swift_fixdt_mpi
endif
# engine_policy_setaffinity is available?
# if HAVESETAFFINITY
# ENGINE_POLICY_SETAFFINITY=| engine_policy_setaffinity
# else
if HAVESETAFFINITY
ENGINE_POLICY_SETAFFINITY=| engine_policy_setaffinity
else
ENGINE_POLICY_SETAFFINITY=
# endif
endif
# Sources for swift
swift_SOURCES = main.c
......
......@@ -2278,7 +2278,6 @@ void engine_collect_timestep(struct engine *e) {
e->g_updates = g_updates;
}
/**
* @brief Print the conserved quantities statistics to a log file
*
......@@ -3185,7 +3184,7 @@ void engine_init(struct engine *e, struct space *s,
#endif
/* Initialize the threadpool. */
threadpool_init(&e->threadpool, e->nr_threads);
threadpool_init(&e->threadpool, e->nr_threads);
/* First of all, init the barrier and lock it. */
if (pthread_mutex_init(&e->barrier_mutex, NULL) != 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment