|
MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
Go to the source code of this file.
Enumerations | |
| enum | WindModel { WIND_SUBGRID = 1 , WIND_DECOUPLE_SPH = 2 , WIND_USE_HALO = 4 , WIND_FIXED_EFFICIENCY = 8 , WIND_ISOTROPIC = 512 } |
Functions | |
| void | set_winds_params (ParameterSet *ps) |
| void | init_winds (double FactorSN, double EgySpecSN, double PhysDensThresh, double UnitTime_in_s) |
| void | winds_evolve (int i, double a3inv, double hubble) |
| void | winds_and_feedback (int *NewStars, int NumNewStars, const double Time, const double hubble, ForceTree *tree) |
| int | winds_make_after_sf (int i, double sm, double vdisp, double atime) |
| void | winds_subgrid (int *MaybeWind, int NumMaybeWind, const double Time, const double hubble, ForceTree *tree, MyFloat *StellarMasses) |
| int | winds_are_subgrid (void) |
| int | winds_is_particle_decoupled (int i) |
| void | winds_decoupled_hydro (int i, double atime) |
| int | winds_ever_decouple (void) |
| enum WindModel |
| Enumerator | |
|---|---|
| WIND_SUBGRID | |
| WIND_DECOUPLE_SPH | |
| WIND_USE_HALO | |
| WIND_FIXED_EFFICIENCY | |
| WIND_ISOTROPIC | |
Definition at line 12 of file winds.h.
| void init_winds | ( | double | FactorSN, |
| double | EgySpecSN, | ||
| double | PhysDensThresh, | ||
| double | UnitTime_in_s | ||
| ) |
Definition at line 97 of file winds.c.
References endrun(), HAS, WindParams::MaxWindFreeTravelTime, message(), SEC_PER_MEGAYEAR, WIND_FIXED_EFFICIENCY, wind_params, WIND_USE_HALO, WindParams::WindEfficiency, WindParams::WindEnergyFraction, WindParams::WindFreeTravelDensFac, WindParams::WindFreeTravelDensThresh, WindParams::WindModel, WindParams::WindSigma0, WindParams::WindSpeed, and WindParams::WindSpeedFactor.
Referenced by init_cooling_and_star_formation().
| void set_winds_params | ( | ParameterSet * | ps | ) |
Definition at line 72 of file winds.c.
References WindParams::MaxWindFreeTravelTime, WindParams::MinWindVelocity, param_get_double(), param_get_enum(), ThisTask, wind_params, WindParams::WindEfficiency, WindParams::WindEnergyFraction, WindParams::WindFreeTravelDensFac, WindParams::WindFreeTravelLength, WindParams::WindModel, WindParams::WindSigma0, WindParams::WindSpeedFactor, and WindParams::WindThermalFactor.
Referenced by read_parameter_file().
| void winds_and_feedback | ( | int * | NewStars, |
| int | NumNewStars, | ||
| const double | Time, | ||
| const double | hubble, | ||
| ForceTree * | tree | ||
| ) |
Definition at line 333 of file winds.c.
References cmp_by_part_id(), endrun(), TreeWalk::ev_label, HAS, TreeWalk::haswork, WindPriv::hubble, WindPriv::kicks, WindPriv::maxkicks, message(), MPI_INT64, MPIU_Any(), myfree, mymalloc, TreeWalk::ngbiter, TreeWalk::Niteration, WindPriv::nkicks, WindPriv::nvisited, StarKick::part_index, TreeWalk::postprocess, qsort_openmp, TreeWalk::reduce, sfr_wind_feedback_ngbiter(), SPHP, StarKick::StarDistance, StarKick::StarID, StarKick::StarKickVelocity, StarKick::StarTherm, sumup_large_ints(), ta_free, WindPriv::Time, treewalk_run(), walltime_measure, wind_do_kick(), wind_params, WIND_SUBGRID, WindPriv::Winddata, WindParams::WindModel, and winds_find_weights().
Referenced by cooling_and_starformation().
| int winds_are_subgrid | ( | void | ) |
Definition at line 115 of file winds.c.
References HAS, wind_params, WIND_SUBGRID, and WindParams::WindModel.
Referenced by cooling_and_starformation().
| void winds_decoupled_hydro | ( | int | i, |
| double | atime | ||
| ) |
Definition at line 133 of file winds.c.
References DMAX, GAMMA, SPHP, wind_params, WindParams::WindFreeTravelDensThresh, and WindParams::WindSpeed.
Referenced by hydro_postprocess().
| int winds_ever_decouple | ( | void | ) |
Definition at line 192 of file winds.c.
References WindParams::MaxWindFreeTravelTime, and wind_params.
Referenced by wind_do_kick().
| void winds_evolve | ( | int | i, |
| double | a3inv, | ||
| double | hubble | ||
| ) |
Definition at line 403 of file winds.c.
References dloga, DMAX, get_dloga_for_bin(), WindPriv::hubble, WindParams::MaxWindFreeTravelTime, P, SPHP, wind_params, and WindParams::WindFreeTravelDensThresh.
Referenced by cooling_and_starformation().
| int winds_is_particle_decoupled | ( | int | i | ) |
Definition at line 124 of file winds.c.
References HAS, P, SPHP, WIND_DECOUPLE_SPH, wind_params, and WindParams::WindModel.
Referenced by add_particle_to_group(), blackhole_accretion_ngbiter(), blackhole_feedback_ngbiter(), density_ngbiter(), hydro_ngbiter(), and hydro_postprocess().
| int winds_make_after_sf | ( | int | i, |
| double | sm, | ||
| double | vdisp, | ||
| double | atime | ||
| ) |
Definition at line 708 of file winds.c.
Referenced by winds_subgrid().
| void winds_subgrid | ( | int * | MaybeWind, |
| int | NumMaybeWind, | ||
| const double | Time, | ||
| const double | hubble, | ||
| ForceTree * | tree, | ||
| MyFloat * | StellarMasses | ||
| ) |
Definition at line 306 of file winds.c.
References HAS, WindPriv::hubble, MPIU_Any(), myfree, WindPriv::nvisited, P, WindPriv::Time, walltime_measure, wind_params, WIND_SUBGRID, WindPriv::Winddata, WindParams::WindModel, WINDP, winds_find_weights(), and winds_make_after_sf().
Referenced by cooling_and_starformation().