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

Code formatting

parent 0f6b13c7
No related branches found
No related tags found
1 merge request!608Use the threaded version of FFTW to speed-up the PM part of the code.
...@@ -702,8 +702,8 @@ void pm_mesh_struct_restore(struct pm_mesh* mesh, FILE* stream) { ...@@ -702,8 +702,8 @@ void pm_mesh_struct_restore(struct pm_mesh* mesh, FILE* stream) {
#ifdef HAVE_FFTW #ifdef HAVE_FFTW
const int N = mesh->N; const int N = mesh->N;
/* Initialise the thread-parallel FFTW version */ /* Initialise the thread-parallel FFTW version */
if (N >= 64) { if (N >= 64) {
fftw_init_threads(); fftw_init_threads();
fftw_plan_with_nthreads(mesh->nr_threads); fftw_plan_with_nthreads(mesh->nr_threads);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment