mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
sample_info.txt file now includes # tracer, volume info
This commit is contained in:
parent
5ea91f12f5
commit
1335f3688e
3 changed files with 50 additions and 1 deletions
|
@ -354,6 +354,18 @@ void createBox(SimuData *simu, vector<long>& targets, vector<long>& snapshot_spl
|
|||
cout << "Number of accepted particles: " << boxed->NumPart << endl;
|
||||
cout << "Rescaling factors = " << mul[0] << " " << mul[1] << " " << mul[2] << endl;
|
||||
|
||||
// PMS
|
||||
FILE *fp = fopen("mask_index.txt", "w");
|
||||
fprintf(fp, "%d", boxed->NumPart);
|
||||
fclose(fp);
|
||||
|
||||
fp = fopen("total_particles.txt", "w");
|
||||
fprintf(fp, "%d", boxed->NumPart);
|
||||
fclose(fp);
|
||||
printf("Done!\n");
|
||||
// END PMS
|
||||
|
||||
|
||||
long *uniqueID = new long[boxed->NumPart];
|
||||
long *particle_id = new long[boxed->NumPart];
|
||||
double *expansion_fac = new double[boxed->NumPart];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue