#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <mpi.h>
#include <gsl/gsl_math.h>
#include "allvars.h"
#include "proto.h"
Go to the source code of this file.
Functions | |
void | move_particles (int time0, int time1) |
void | do_box_wrapping (void) |
This function contains code to implement a drift operation on all the particles, which represents one part of the leapfrog integration scheme.
Definition in file predict.c.
|
This function makes sure that all particle coordinates (Pos) are periodically mapped onto the interval [0, BoxSize]. After this function has been called, a new domain decomposition should be done, which will also force a new tree construction. Definition at line 103 of file predict.c. References All, global_data_all_processes::BoxSize, P, and particle_data::Pos. Referenced by domain_Decomposition(). |
|