Skip to content

hsinweihsia/CompPhys

 
 

Repository files navigation

Computational Physics

Software for UB's Computational Physics class.

This updates the now-deprecated project of PHY410.

This software package is to demonstrate the example code in the UB Computational Physics class, PHY 410/505 and 411/506, developed by Prof. Richard Gonsalves (and updated by Prof. Salvatore Rappoccio). This is now updated This also includes software from the following sources :

Docker:

  • Install Docker: https://docs.docker.com/install/ (execute once)
  • Open your Terminal application.
  • Find a preferred directory somewhere and make a "results" folder:
mkdir results
  • Get the code for CompPhys:
git clone https://github.com/rappoccio/CompPhys.git
cd CompPhys
  • Execute docker image (execute every time you log in):
    • With jupyter:./runDocker.sh srappoccio/compphys:latest
    • With terminal:./runDocker.sh srappoccio/compphys:latest 1
  • Your homework should go into the "results" directory you already created or it will be overwritten when the Docker image quits. I have disabled write access to that directory, but it isn't 100% foolproof so you will be able to shoot themselves in the foot unless you follow directions.

About

Computational Physics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.6%
  • C++ 1.1%
  • Python 0.3%
  • SWIG 0.0%
  • Makefile 0.0%
  • Shell 0.0%