The FARGO_THORIN code developer's guide
 All Data Structures Files Functions Variables Typedefs Macros
Functions
Planet.c File Reference

Accretion of disk material onto the planets, and solver of planetary orbital elements. More...

#include "fargo.h"
Include dependency graph for Planet.c:

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)
 

Detailed Description

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.

Author
THORIN modifications by Ondřej Chrenko chren.nosp@m.ko@s.nosp@m.irrah.nosp@m..tro.nosp@m.ja.mf.nosp@m.f.cu.nosp@m.ni.cz, Copyright (C) 2017; original code by Frédéric Masset

Definition in file Planet.c.

Function Documentation

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 
)

Definition at line 119 of file Planet.c.

References a, CPU_Number, CPU_Rank, fopenp(), G, OUTPUTDIR, and PhysicalTime.

Here is the call graph for this function: