https://github.com/dheerajshenoy/computational-physics
Collection of C++ computational physics programs
https://github.com/dheerajshenoy/computational-physics
Last synced: 5 months ago
JSON representation
Collection of C++ computational physics programs
- Host: GitHub
- URL: https://github.com/dheerajshenoy/computational-physics
- Owner: dheerajshenoy
- Created: 2023-07-12T12:24:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-08T15:08:34.000Z (over 1 year ago)
- Last Synced: 2025-03-09T17:52:59.473Z (8 months ago)
- Language: C++
- Size: 751 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cpp-Computational-Physics
Collection of C++ computational physics programs
# How to run program
## On Linux
You need to have `gnuplot` installed on your system as this is what is used for plotting
1) Compile
`g++ .cpp -o -l boost_filesystems -l boost_iostreams`
2) Compile and Run
`g++ .cpp -o -l boost_filesystems -l boost_iostreams && ./`
# What are the utils.cpp and gnuplot_iostream.h files?
The file `utils.cpp` is the utility program I wrote that contains some custom functions and data-structures that might be of use for my specific use case
and `gnuplot_iostream.h` is the header-only library from [GitHub](https://github.com/dstahlke/gnuplot-iostream) that is used for accessing gnuplot
directly from within the C++ program
# Screenshots







