Enabled triple (plus) SMBHs
This commit is contained in:
parent
fcdafd94a6
commit
633c82b917
4 changed files with 75 additions and 148 deletions
|
|
@ -133,8 +133,8 @@ void Config::error_checking()
|
|||
if (output_hdf5)
|
||||
throw std::runtime_error("HDF5 output format (output_hdf5=true) requires the code to be compiled with HAS_HDF5");
|
||||
#endif
|
||||
if ((live_smbh_count < 0) || (live_smbh_count > 2))
|
||||
throw std::runtime_error("The number of live black holes (live_smbh_count) can be 0, 1, or 2");
|
||||
if (live_smbh_count < 0)
|
||||
throw std::runtime_error("The number of live black holes (live_smbh_count) has to be greater than or equals to zero");
|
||||
if (binary_smbh_pn && (live_smbh_count!=2))
|
||||
throw std::runtime_error("Post-Newtonian gravity (binary_smbh_pn=true) requires live_smbh_count=2");
|
||||
if (binary_smbh_pn && (pn_c <= 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue