The FARGO_THORIN code developer's guide
 All Data Structures Files Functions Variables Typedefs Macros
Data Fields
planetary_system Struct Reference

Contains all the information about a planetary system at a given instant in time. More...

#include <types.h>

Data Fields

int nb
 Number of planets. More...
 
real * mass
 Masses of the planets. More...
 
real * x
 x-coordinate of the planets More...
 
real * y
 y-coordinate of the planets More...
 
real * z
 z-coordinate of the planets More...
 
real * vx
 x-coordinate of the planets'velocities More...
 
real * vy
 y-coordinate of the planets'velocities More...
 
real * vz
 z-coordinate of the planets'velocities More...
 
real * ax
 ax-coordinate of the planets' acceleration from the disk More...
 
real * ay
 ay-coordinate of the planets' acceleration from the disk More...
 
real * az
 az-coordinate of the planets' acceleration from the disk More...
 
real * acc
 The planets' accretion times^-1. More...
 
char ** name
 The planets' names. More...
 
boolean * FeelDisk
 For each planet tells if it feels the disk (ie migrates) More...
 
boolean * FeelOthers
 For each planet tells if it feels the other planet's gravity. More...
 

Detailed Description

Contains all the information about a planetary system at a given instant in time.

#THORIN: 3rd dimension added, acceleration from the disk added.

Definition at line 96 of file types.h.

Field Documentation

real* planetary_system::acc

The planets' accretion times^-1.

Definition at line 108 of file types.h.

Referenced by AccreteOntoPlanets(), AllocPlanetSystem(), and InitPlanetarySystem().

real* planetary_system::ax

ax-coordinate of the planets' acceleration from the disk

Definition at line 105 of file types.h.

Referenced by AllocPlanetSystem(), FillForcesArrays(), and UpdateLog().

real* planetary_system::ay

ay-coordinate of the planets' acceleration from the disk

Definition at line 106 of file types.h.

Referenced by AllocPlanetSystem(), FillForcesArrays(), and UpdateLog().

real* planetary_system::az

az-coordinate of the planets' acceleration from the disk

Definition at line 107 of file types.h.

Referenced by AllocPlanetSystem().

boolean* planetary_system::FeelDisk

For each planet tells if it feels the disk (ie migrates)

Definition at line 110 of file types.h.

Referenced by AccreteOntoPlanets(), AllocPlanetSystem(), and InitPlanetarySystem().

boolean* planetary_system::FeelOthers

For each planet tells if it feels the other planet's gravity.

Definition at line 111 of file types.h.

Referenced by AllocPlanetSystem(), and InitPlanetarySystem().

real* planetary_system::mass

Masses of the planets.

Definition at line 98 of file types.h.

Referenced by AccreteOntoPlanets(), AdvanceSystemRebound(), AllocPlanetSystem(), FillForcesArrays(), InitPlanetarySystem(), and UpdateLog().

char** planetary_system::name

The planets' names.

Definition at line 109 of file types.h.

int planetary_system::nb
real* planetary_system::vx

x-coordinate of the planets'velocities

Definition at line 102 of file types.h.

Referenced by AccreteOntoPlanets(), AllocPlanetSystem(), and InitPlanetarySystem().

real* planetary_system::vy

y-coordinate of the planets'velocities

Definition at line 103 of file types.h.

Referenced by AccreteOntoPlanets(), AllocPlanetSystem(), and InitPlanetarySystem().

real* planetary_system::vz

z-coordinate of the planets'velocities

Definition at line 104 of file types.h.

Referenced by AllocPlanetSystem().

real* planetary_system::x

x-coordinate of the planets

Definition at line 99 of file types.h.

Referenced by AccreteOntoPlanets(), AllocPlanetSystem(), FillForcesArrays(), GetPsysInfo(), InitPlanetarySystem(), RestartPlanetarySystem(), and UpdateLog().

real* planetary_system::y

y-coordinate of the planets

Definition at line 100 of file types.h.

Referenced by AccreteOntoPlanets(), AllocPlanetSystem(), FillForcesArrays(), InitPlanetarySystem(), and UpdateLog().

real* planetary_system::z

z-coordinate of the planets

Definition at line 101 of file types.h.

Referenced by AllocPlanetSystem(), and FillForcesArrays().


The documentation for this struct was generated from the following file: