Commit graph

38 commits

Author SHA1 Message Date
Yohai Meiron
d046c189b3 Cleaned up energy control as well as many other things 2020-04-29 21:51:05 -04:00
Yohai Meiron
df5d89a0c8 Finished moving the BH stuff into their compilation unit 2020-04-19 22:10:19 -04:00
Yohai Meiron
19ce85da88 Moved out almost all BH-related stuff to a different compilation unit 2020-04-19 14:16:03 -04:00
Yohai Meiron
2a50f0fc9a Lots of cleanup and started moving the PN out of the main 2020-04-18 21:48:46 -04:00
Yohai Meiron
30ae8631a9 Moved calc_self_grav to a class and cleaned up a little 2020-04-14 20:20:39 -04:00
Yohai Meiron
b51613695f Now working as the hybrid code
Removed the need for the annoying ETICS_CEP flag; now dt_scf is read from the config file.
2020-04-13 23:08:42 -04:00
Yohai Meiron
75ad0f0e89 Added spins to config file and got rid of more _act arrays 2020-04-08 20:38:36 -04:00
Yohai Meiron
ebec3280f8 Cleaned unused variables and fixed a bug with PN (also tested PN against old version) 2020-04-07 22:40:54 -04:00
Yohai Meiron
d9e3aea243 Moved SMBH de-softening to a function (still not pretty) and improved init script 2020-04-05 19:54:10 -04:00
Yohai Meiron
56abe820c3 Number of devices can be overriden in config file 2020-04-05 11:17:21 -04:00
Yohai Meiron
7fae35a2d9 Moved some tasks from the correction+timestep adjustment loop outside 2020-04-04 23:03:06 -04:00
Yohai Meiron
99ec3064ed Started moving toward dynamical allocation; removed the _loc variables which were only used in the zeroth step and were pretty unnecessary anyway 2020-04-03 21:40:11 -04:00
Yohai Meiron
ea94dbb626 Moved the active search outside of the main loop 2020-04-02 21:49:52 -04:00
Yohai Meiron
c79cef895a Added Dehnen potential and moved external potentials to a new compilation unit 2020-04-01 15:47:13 -04:00
Yohai Meiron
62b0d7e491 Improved output and config 2020-03-31 22:06:04 -04:00
Yohai Meiron
5cb4282be4 Completed HDF5 support 2020-03-31 19:04:18 -04:00
Yohai Meiron
131642aa71 Added logarithmic external potential 2020-03-25 21:42:29 -04:00
Yohai Meiron
8cba5b5e1d Got rid of more global variables 2020-03-25 16:58:46 -04:00
Yohai Meiron
23d32c6dcf New approach to external potential 2020-03-25 16:37:55 -04:00
Yohai Meiron
562ea9618a External potential (EXTPOT_GAL) cleaned up 2020-03-24 20:37:23 -04:00
Yohai Meiron
d7332be188 Added post-Newtonian parameters to the config file 2020-03-21 22:52:13 -04:00
Yohai Meiron
9b900eff6e Prettied up the black hole output and removed some redundant variables 2020-03-21 12:46:26 -04:00
Yohai Meiron
8f984b5158 Moved more variables from global to main and removed some unused variables 2020-03-19 14:01:17 -04:00
Yohai Meiron
c4830423a3 Fixed the control output problem 2020-03-18 22:50:00 -04:00
Yohai Meiron
22f983cf17 Moved some variables from global to main and removed some unused variables 2020-03-18 11:59:28 -04:00
Yohai Meiron
9296db0609 Now config file handles most parameters (but not external potential) 2020-03-17 14:09:30 -04:00
Yohai Meiron
bb9a343763 Improved parameter parsing from config file 2020-03-17 10:43:58 -04:00
Yohai Meiron
cd282cc406 Improved the new-style config file and its reader 2020-03-15 21:35:53 -04:00
Yohai Meiron
90f070d1fb Moved much of the black hole stuff from ifdef blocks to regular if clauses 2020-03-15 18:43:13 -04:00
Yohai Meiron
7721bc1830 Minor edits 2020-03-14 16:50:40 -04:00
Yohai Meiron
fd33819a7a Got rid of most k-loops 2020-03-14 16:29:00 -04:00
Yohai Meiron
34030c06d0 Introduced double3 structure in preparation of dynamic allocation and getting rid of k-loops 2020-03-13 20:42:09 -04:00
Yohai Meiron
4b8ef0ca61 Removed redundant copying from calc_self_grav and got rid of calc_self_grav_zero 2020-03-13 19:36:18 -04:00
Yohai Meiron
2c05355eaa Removed more ifdef blocks 2020-03-13 16:59:09 -04:00
Yohai Meiron
63a39cc9c8 Removed ifdef blocks specific to non-Yebisu libraries 2020-03-06 15:18:32 -05:00
Yohai Meiron
86240127fd mostly fixed indentation in main 2020-03-05 23:48:08 -05:00
Yohai Meiron
dd77ecde75 removed many ifdefs blocks and associated included c files 2020-03-05 17:00:13 -05:00
Yohai Meiron
e9455c0a0e Started cleanup process 2020-03-04 13:46:04 -05:00