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...
 
realmass
 Masses of the planets. More...
 
realx
 x-coordinate of the planets More...
 
realy
 y-coordinate of the planets More...
 
realz
 z-coordinate of the planets More...
 
realvx
 x-coordinate of the planets'velocities More...
 
realvy
 y-coordinate of the planets'velocities More...
 
realvz
 z-coordinate of the planets'velocities More...
 
realax
 ax-coordinate of the planets' acceleration from the disk More...
 
realay
 ay-coordinate of the planets' acceleration from the disk More...
 
realaz
 az-coordinate of the planets' acceleration from the disk More...
 
realacc
 The planets' accretion times^-1. More...
 
char ** name
 The planets' names. More...
 
booleanFeelDisk
 For each planet tells if it feels the disk (ie migrates) More...
 
booleanFeelOthers
 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: