Skip to content

Commit eb0a253

Browse files
author
Dominic Marcello
committed
Added CMakeLists.txt
1 parent ee3838a commit eb0a253

9 files changed

Lines changed: 697 additions & 1159 deletions

File tree

CMakeLists.txt~

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -march=native")
3+
4+
add_executable( fmm_test
5+
src/main.cpp
6+
src/multipole.cpp
7+
src/expansion.cpp
8+
)
9+

LICENSE~

Lines changed: 675 additions & 0 deletions
Large diffs are not rendered by default.

README~

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
-----------------------------------------------------
3+
Copyright (c) 2016 Dominic C. Marcello
4+
-----------------------------------------------------
5+
6+
7+
This code will compile under g++ using the command:
8+
9+
g++ *.cpp -std=c++11
10+
11+
12+
NOTE: To enable the angular momentum conservation feature, define "CORRECTION_ON". To enable the optimized version of the correction,
13+
define "CORRECTION_ON" and "CORRECTION_OPTIMIZE." See defs.hpp.

defs.hpp

Lines changed: 0 additions & 34 deletions
This file was deleted.

expansion.cpp

Lines changed: 0 additions & 320 deletions
This file was deleted.

0 commit comments

Comments
 (0)