/mae259b

Python code for discrete elastic rods

Primary LanguageTeX

MAE 259B Course Project (Group 2)

Environment requirement

  • Python 3 and the following Python libraries (which could be installed via pip):
    • NumPy
    • SymPy (only for diff/)
    • AIOHTTP (only for server.py)
  • A modern web browser (e.g. latest Google Chrome) for visualization.

Files and directories

  • index.html and list in root directory is solely for GitHub Pages use.
  • der/: python code for DER itself
    • runCircle.py: 2D elastic rods in a circular shape. Results saved to data/ directory.
    • Other .py files are included modules. See the comments in the beginning of each file.
  • data/: generated data files (in JSON format).
  • diff/: carry out differentiation with SymPy to get gradients and hessians.
  • mid-presentation/: midterm progress presentation.
  • mid-report/: midterm progress report.
  • screenshots/: directory for holding screenshots.
  • visualize/: resources for visualizing data in web browser.