Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 2.69 KB

README.md

File metadata and controls

43 lines (22 loc) · 2.69 KB

PHYS514_Project

The term project of the Computational Physics (PHYS514) course. -- Koc University

TL&DR

All project-related deliverable scripts/reports are collected under deliverables folder.

It is recommended to read the project report before observing the visualization scripts.

There is a script called main.py which demonstrates the experiments conducted on Newtonian approach and Relativistic approach. This script basically calls the function called demo() in each individual script in the same folder. The input arguments that can be passed to each individual demo() function can be observed in their parent scripts.

Just a funny meme that I encountered in the web :p

General Folder Structure

src

It contains the all required custom module implementations that are used in the project. The spesific properties of the modules can be observed below:

Utils.py : It includes the all helper functions and unit conversion/transformation related functionalities.

Plotter.py : It is a higher level wrapper for the matplotlib which makes it easier to plot figures which includes more than one data vector.

Constants.py : It is just a collection of the constants that are used in throughout the study.

Solvers.py : Undoubtlessly, it is the most important package in the repository. It includes all the routines that enables solution of the ODEs in the project. Moreover, it includes all the functionality that implements numerical methods on the data.

data

It contains the White Dwarf (WD) data that is used in numerical calculations.

test

It includes the unittests for the functions located in Utils.py, and also, it includes the timing/performance tests for some of the methods that are present in the main scripts.

report

It includes the materials (figures, and LaTeX code) that are required for the construction of the study report.

wolfram_nb

It includes Wolfram Mathematica notebooks that are used for the analytical solution of the some of the problems.