Commit graph

64 commits

Author SHA1 Message Date
064eb4e3c5 Removed init. of pot_act_ext from main loop;
zero filling of pot_act_ext now only if external potential active;
improved warning on minimum timestep;
changed CUDAHOME to CUDA_HOME
2021-08-23 19:40:55 -04:00
0a2344563d run directory now separate from source directory 2021-03-17 20:37:12 -04:00
Yohai Meiron
11c0db23a3 Compatibility with Sapporo 2020-11-03 21:41:21 -05:00
Yohai Meiron
dd31b63215 Improved printing of external potential 2020-10-31 15:08:48 -04:00
Yohai Meiron
8adb4ac813 Fixed memory issue with reading of HDF5 input file and improved style 2020-10-28 22:46:27 -04:00
Yohai Meiron
b6c55a30da Made ETICS blocks work with the vector structures 2020-10-28 21:40:46 -04:00
Yohai Meiron
54231b8537 Removed remaining macros and unused includes 2020-10-28 21:15:51 -04:00
Yohai Meiron
d9ed8e5131 Got rid of remaining manual allocations, moved some variable declarations to where they are needed 2020-10-28 19:18:37 -04:00
Yohai Meiron
aef0f26878 Improved external gravity calls style 2020-10-28 16:31:45 -04:00
Yohai Meiron
747f9f9d89 Moved config to inside main and changed several arrays into vectors 2020-10-27 23:55:55 -04:00
Yohai Meiron
329dd2ca4d New timing, moved MPI reduction into function call, started converting some of the pointers into std::vectors 2020-05-09 18:21:01 -04:00
Yohai Meiron
1a438449a8 Now fast active search works, and can be controlled from config file 2020-05-01 20:41:50 -04:00
Yohai Meiron
2f8f8c582c Attempting to get fast active search working 2020-05-01 00:27:41 -04:00
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
b2943be7c1 Improved HDF5 reader and added ASCII writer with custom precision 2020-03-28 01:34:37 -04:00
Yohai Meiron
ba5546534f Continued working on HDF5 plugin 2020-03-27 16:53:01 -04:00
Yohai Meiron
0b9fa6e46d Working on HDF5 reader 2020-03-26 19:56:12 -04:00
Yohai Meiron
f065566c6b Added an HDF5 writer 2020-03-26 15:09:15 -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
7177148b6c Fixed typo in Makefile 2020-03-13 20:59:53 -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