bigbang 0.0.4

An optimized framework for n-(hard)-body gravitational simulation
Documentation
#include "stdint.h"

/**
 * An Entity is an object (generalized to be spherical, having only a radius dimension) which has
 * velocity, position, radius, and mass. This gravitational tree contains many entities and it moves
 * them around according to the gravity they exert on each other.
 */
typedef struct Entity {
  float vx;
  float vy;
  float vz;
  float x;
  float y;
  float z;
  float radius;
  float mass;
} Entity;

void *from_data_file(const char *file_path_buff);

void *new(const Entity *array, int length);

void *time_step(void *gravtree_buf);

void write_data_file(const char *file_path_buff, unsigned char *gravtree_buf);