|
The FARGO_THORIN code developer's guide
|
Accretion of disk material onto the planets, and solver of planetary orbital elements. More...
#include "fargo.h"
Go to the source code of this file.
Functions | |
| void | AccreteOntoPlanets (PolarGrid *Rho, PolarGrid *Vrad, PolarGrid *Vtheta, real dt, PlanetarySystem *sys) |
| void | FindOrbitalElements (real x, real y, real vx, real vy, real m, int n) |
Accretion of disk material onto the planets, and solver of planetary orbital elements.
The prescription used for the accretion is the one designed by W. Kley.
Definition in file Planet.c.
| void AccreteOntoPlanets | ( | PolarGrid * | Rho, |
| PolarGrid * | Vrad, | ||
| PolarGrid * | Vtheta, | ||
| real | dt, | ||
| PlanetarySystem * | sys | ||
| ) |
Definition at line 15 of file Planet.c.
References planetary_system::acc, CellAbscissa, CellOrdinate, planetary_system::FeelDisk, polargrid::Field, planetary_system::mass, Max_or_active, MPI_Allreduce(), MPI_COMM_WORLD, MPI_DOUBLE, MPI_SUM, planetary_system::nb, polargrid::Nrad, polargrid::Nsec, OmegaFrame, PI, Rinf, Rmed, Rsup, Surf, planetary_system::vx, VXplanet, planetary_system::vy, VYplanet, planetary_system::x, Xplanet, planetary_system::y, YES, Yplanet, and Zero_or_active.
Referenced by AlgoGas().


1.8.7