-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
21 lines (11 loc) · 710 Bytes
/
README
File metadata and controls
21 lines (11 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-----------------------------------------------------
Copyright (c) 2016 Dominic C. Marcello
-----------------------------------------------------
This code will compile under g++ using the command:
g++ *.cpp -std=c++11
NOTES:
1) To enable the angular momentum conservation feature, define "CORRECTION_ON". To enable the optimized version of the correction,
define "CORRECTION_ON" and "CORRECTION_OPTIMIZE." See defs.hpp.
2) The first calculation is the direct force calculation used for comparison and may take some time. To run a quicker test, reduce
the number of particles (see note 3)
3) To change the number of particles, change the value of "constexpr integer nparts" in defs.hpp.