libgravix2  0.1.0
A fast simulation of attractive forces acting on point-like particles embedded onto the surface of a sphere.
GrvxPlanets Struct Reference

Set of planets. More...

#include <planet.h>

Public Attributes

unsigned n
 
double * data
 

Detailed Description

Set of planets.

The spatial position of each planet is stored as a tuple of the cartesian coordinates \((x_1, y_1, z_1, x_2, y_2, z_2, \ldots x_n, y_n, z_n)\) in GrvxPlanets::data, where \((x_i, y_i, z_i)\) refers to the \(i\)-th planet.

Member Data Documentation

◆ data

double* GrvxPlanets::data

Data array.

◆ n

unsigned GrvxPlanets::n

Number of planets, \(n\).


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