MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
libgadget
hydra.h
Go to the documentation of this file.
1
#ifndef HYDRA_H
2
#define HYDRA_H
3
4
#include "
forcetree.h
"
5
#include "
types.h
"
6
#include "
timestep.h
"
7
#include "
density.h
"
8
#include "
utils/paramset.h
"
9
10
/*Function to compute hydro accelerations and adiabatic entropy change*/
11
void
hydro_force
(
const
ActiveParticles
* act,
const
double
atime,
struct
sph_pred_data
* SPH_predicted,
double
MinEgySpec,
const
DriftKickTimes
times,
Cosmology
*
CP
,
const
ForceTree
*
const
tree);
12
13
void
set_hydro_params
(
ParameterSet
* ps);
14
15
/* Gets whether we are using Density Independent Sph*/
16
int
DensityIndependentSphOn
(
void
);
17
18
#endif
density.h
forcetree.h
hydro_force
void hydro_force(const ActiveParticles *act, const double atime, struct sph_pred_data *SPH_predicted, double MinEgySpec, const DriftKickTimes times, Cosmology *CP, const ForceTree *const tree)
Definition:
hydra.c:147
set_hydro_params
void set_hydro_params(ParameterSet *ps)
Definition:
hydra.c:37
DensityIndependentSphOn
int DensityIndependentSphOn(void)
Definition:
hydra.c:49
paramset.h
CP
static Cosmology * CP
Definition:
power.c:27
ActiveParticles
Definition:
timestep.h:10
Cosmology
Definition:
cosmology.h:8
DriftKickTimes
Definition:
timestep.h:18
ForceTree
Definition:
forcetree.h:76
ParameterSet
Definition:
paramset.c:95
sph_pred_data
Definition:
density.h:26
timestep.h
types.h
Generated by
1.9.1