I've studied dynamic simulations like planetary or molecular motion.
Output data are huge, and saved as text data.
Exp.
FILE* f = fopen("xyzFile.txt", "w");
for (int i=0;i<max;i++) {
// Ordinary differential equation.
ode(particle);
fprintf(f, "%.8f %.8f %.8f\n", particle.x, particle.y, particle.z);
}
fclose(f);
I can't find initial value, created date and so on from filename.
I'd like to save those data efficiently.
Do I have to use any database? I guess Mongodb can be nice. Let me know nice solution.
Thanks in advance.