-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
RUNS = run1 | ||
|
||
REB = $(shell grep ^rebound $(NEMO)/opt/mknemo.log | wc -l) | ||
|
||
ifeq ($(REB),0) | ||
ALL = all0 | ||
else | ||
ALL = all1 | ||
endif | ||
|
||
|
||
all: $(ALL) | ||
|
||
all0: | ||
@echo rebound not installed, tests disabled | ||
|
||
all1: $(RUNS) | ||
|
||
clean: | ||
rm -rf $(RUNS) | ||
|
||
run1: | ||
rm -f run1.* | ||
mkplummer run1.1 100 seed=123 | ||
s2reb run1.1 run1.2 | ||
reb_integrate run1.2 run1.3 tstop=1 dt=0.1 dtout=0.1 eps=0.05 | ||
reb2s run1.3 run1.4 | ||
bsf run1.4 test="0.00216833 0.650161 -4.77863 5.57043 7010" label=rebound | ||
|
||
|