Now integrate() can return the full trajectory and plotted in the Python; improved readablity
This commit is contained in:
parent
a2219af116
commit
a624814a0c
5 changed files with 144 additions and 106 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
OPTIMIZATION ?= 3
|
||||
CXXFLAGS += -O$(OPTIMIZATION)
|
||||
LIB += -lgsl
|
||||
|
||||
EXECUTABLE ?= main
|
||||
|
||||
default:
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INC) loadtxt.cpp main.cpp -o $(EXECUTABLE) $(LIB)
|
||||
|
||||
lib:
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -fPIC $(INC) loadtxt.cpp main.cpp -shared -o lib$(EXECUTABLE).so $(LIB)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so $(EXECUTABLE)
|
||||
Loading…
Add table
Add a link
Reference in a new issue