|
MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <mpi.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <gsl/gsl_math.h>#include "utils.h"#include "cooling.h"#include "densitykernel.h"#include "treewalk.h"#include "gravshort.h"#include "walltime.h"Go to the source code of this file.
Functions | |
| static void | grav_short_pair_ngbiter (TreeWalkQueryGravShort *I, TreeWalkResultGravShort *O, TreeWalkNgbIterGravShort *iter, LocalTreeWalk *lv) |
| void | grav_short_pair (const ActiveParticles *act, PetaPM *pm, ForceTree *tree, double Rcut, double rho0, int NeutrinoTracer, int FastParticleType) |
| void grav_short_pair | ( | const ActiveParticles * | act, |
| PetaPM * | pm, | ||
| ForceTree * | tree, | ||
| double | Rcut, | ||
| double | rho0, | ||
| int | NeutrinoTracer, | ||
| int | FastParticleType | ||
| ) |
Definition at line 24 of file gravshort-pair.c.
References ActiveParticles::ActiveParticle, PetaPM::Asmth, ForceTree::BoxSize, GravShortPriv::cbrtrho0, GravShortPriv::cellsize, TreeWalk::ev_label, GravShortPriv::FastParticleType, TreeWalk::fill, GravShortPriv::G, PetaPM::G, grav_short_copy(), grav_short_pair_ngbiter(), grav_short_postprocess(), grav_short_reduce(), TreeWalk::haswork, message(), GravShortPriv::NeutrinoTracer, TreeWalk::ngbiter, TreeWalk::ngbiter_type_elsize, PetaPM::Nmesh, ActiveParticles::NumActiveParticle, TreeWalk::postprocess, TreeWalk::priv, TreeWalk::query_type_elsize, GravShortPriv::Rcut, TreeWalk::reduce, TreeWalk::result_type_elsize, TreeWalk::tree, treewalk_run(), treewalk_visit_ngbiter(), TreeWalk::visit, and walltime_measure.
Referenced by run(), and run_gravity_test().
|
static |
Definition at line 61 of file gravshort-pair.c.
References TreeWalkResultGravShort::Acc, TreeWalkNgbIterGravShort::base, GravShortPriv::cellsize, TreeWalkNgbIterBase::dist, endrun(), FORCE_SOFTENING(), grav_apply_short_range_window(), GRAV_GET_PRIV, TreeWalkNgbIterBase::Hsml, TreeWalkNgbIterBase::mask, NGB_TREEFIND_ASYMMETRIC, TreeWalkNgbIterBase::other, P, TreeWalkResultGravShort::Potential, TreeWalkNgbIterBase::r, TreeWalkNgbIterBase::r2, TreeWalkQueryGravShort::Soft, TreeWalkNgbIterBase::symmetric, and LocalTreeWalk::tw.
Referenced by grav_short_pair().