Improved parameter parsing from config file
This commit is contained in:
parent
cd282cc406
commit
bb9a343763
4 changed files with 127 additions and 25 deletions
21
phigrape.h
Normal file
21
phigrape.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
|
||||
struct Parameters {
|
||||
double eps;
|
||||
double t_end;
|
||||
double dt_disk;
|
||||
double dt_contr;
|
||||
double dt_bh;
|
||||
double eta;
|
||||
std::string input_file_name;
|
||||
bool dt_min_warning;
|
||||
int live_smbh_count;
|
||||
double live_smbh_custom_eps;
|
||||
bool live_smbh_output;
|
||||
bool live_smbh_neighbor_output;
|
||||
int live_smbh_neighbor_number;
|
||||
bool binary_smbh_pn;
|
||||
bool binary_smbh_influence_sphere_output;
|
||||
double binary_smbh_influence_radius_factor;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue