Skip to content

Commit

Permalink
Add c++ tools
Browse files Browse the repository at this point in the history
  • Loading branch information
shuleyu committed Sep 18, 2018
1 parent aec36ec commit ccef3ec
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 594 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ COMP := c++ -std=c++14 -Wall
OUTDIR := .
INCDIR := -I.
LIBDIR :=
LIBS := -lnetcdf -lgmt -lm
LIBS := -lnetcdf -lgmt

# all *cpp files
SRCFILES := $(wildcard *.cpp)
Expand Down
Binary file removed src/Tomography.pdf
Binary file not shown.
Binary file removed src/Tomography.ps
Binary file not shown.
3 changes: 3 additions & 0 deletions src/tomo.cpp → src/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ int main(){
cout << tomo.GetValueAt(2343.5,253.03,-43.4) << endl;


/*
// Example 2. Plot a depth slice.
Expand Down Expand Up @@ -44,5 +45,7 @@ int main(){
GMT::SealPlot(outfile);
remove("tmp.cpt");
*/

return 0;
}
593 changes: 0 additions & 593 deletions src/tomo.d

This file was deleted.

Binary file removed src/tomo.o
Binary file not shown.
Binary file removed src/tomo.out
Binary file not shown.

0 comments on commit ccef3ec

Please sign in to comment.