#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <mpi.h>
#include "allvars.h"
#include "proto.h"
Go to the source code of this file.
Functions | |
void | long_range_init (void) |
void | long_range_init_regionsize (void) |
void | long_range_force (void) |
Definition in file longrange.c.
|
This function is a driver routine for the long-range PM force computation. It calls periodic and/or non-periodic FFT routines as needed for the present simulation set-up. Definition at line 56 of file longrange.c. References All, global_data_all_processes::ComovingIntegrationOn, endrun(), particle_data::GravPM, global_data_all_processes::Hubble, global_data_all_processes::Omega0, global_data_all_processes::OmegaLambda, P, pm_init_regionsize(), pm_setup_nonperiodic_kernel(), pmforce_nonperiodic(), pmforce_periodic(), and particle_data::Pos. Referenced by compute_accelerations(). |
|
Calls initializiation routines of periodic or/and non-periodic FFT routines. Definition at line 20 of file longrange.c. References pm_init_nonperiodic(), and pm_init_periodic(). Referenced by begrun(). |
|
This function calls subroutines that determine the spatial region covered by the PM mesh. Definition at line 36 of file longrange.c. References pm_init_regionsize(), pm_setup_nonperiodic_kernel(), and RestartFlag. Referenced by begrun(). |