vibe coding an orbital mechanics simulation to try out claude code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
549 B

#ifndef CONFIG_VALIDATOR_H
#define CONFIG_VALIDATOR_H
#include "simulation.h"
#include "spacecraft.h"
#define MIN_MASS_RATIO 1000.0
#define NESTED_ORBIT_FRACTION 5.0
bool validate_parent_index_ordering(SimulationState* sim);
bool validate_orbital_elements(SimulationState* sim);
bool validate_initial_positions(SimulationState* sim);
bool validate_mass_ratios(SimulationState* sim);
bool validate_soi_overlap(SimulationState* sim);
bool validate_nested_orbits(SimulationState* sim);
bool run_all_config_validations(SimulationState* sim);
#endif