#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.
Defines | |
#define | boxSize_X boxSize |
#define | boxHalf_X boxHalf |
#define | boxSize_Y boxSize |
#define | boxHalf_Y boxHalf |
#define | boxSize_Z boxSize |
#define | boxHalf_Z boxHalf |
Functions | |
void | density (void) |
void | density_evaluate (int target, int mode) |
int | dens_compare_key (const void *a, const void *b) |
This file contains the "first SPH loop", where the SPH densities and some auxiliary quantities are computed. If the number of neighbours obtained falls outside the target range, the correct smoothing length is determined iteratively, if needed.
Definition in file density.c.
|
Definition at line 28 of file density.c. Referenced by density(), hydro_force(), and ngb_treeallocate(). |
|
Definition at line 34 of file density.c. Referenced by density(), hydro_force(), and ngb_treeallocate(). |
|
Definition at line 40 of file density.c. Referenced by density(), hydro_force(), and ngb_treeallocate(). |
|
Definition at line 27 of file density.c. Referenced by density(), hydro_force(), and ngb_treeallocate(). |
|
Definition at line 33 of file density.c. Referenced by density(), hydro_force(), and ngb_treeallocate(). |
|
Definition at line 39 of file density.c. Referenced by density(), hydro_force(), and ngb_treeallocate(). |
|
This routine is a comparison kernel used in a sort routine to group particles that are exported to the same processor. Definition at line 607 of file density.c. Referenced by density(). |
|
|