Skip to content

Instantly share code, notes, and snippets.

Jason K. Moore moorepants

Block or report user

Report or block moorepants

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bouncy_pendulum.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / test_upload_tagged_photos.py
Created Aug 19, 2013
Image uploader for localwikis.
View test_upload_tagged_photos.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from upload_tagged_photos import ImageUploader
def TestUploadWiki():
url = "http://clevelandwiki.org/api/"
user_name = raw_input("What is your username?")
api_key = getpassword("What is your api_key?")
We couldn’t find that file to show.
@moorepants
moorepants / chaos_pendulum_pythreejs_manual.ipynb
Last active Nov 26, 2019
Notebooks for lecture 18 Fall 2019.
View chaos_pendulum_pythreejs_manual.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / chaos_pendulum_pythreejs_manual.ipynb
Created Nov 24, 2019
Example of how to manually use pythreejs to animate a PyDy scene.
View chaos_pendulum_pythreejs_manual.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / auto_lateral_dynamics_symbolic.ipynb
Last active Nov 21, 2019
Derives the equations of motion for the lateral dynamics of a car model using Lagrange's method.
View auto_lateral_dynamics_symbolic.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / engrxiv-papers.csv
Last active Nov 17, 2019
A look at download counts from Engrxiv
View engrxiv-papers.csv
We can't make this file beautiful and searchable because it's too large.
GUID,Title,Abstract,status,"file url","Download count",URL,"Preprint DOI","Publisher DOI","Date created","Date modified"
mkzp5,"A stochastic multiscale peridynamic model for corrosion-induced fracture","Concrete fracture caused by corrosion of the reinforcing bars plays a key role in accelerating rebar corrosion and causing subsequent structure failure. To better predict this process, we introduce a three-phase stochastic peridynamic model, with the simplest constitutive relation (linear elastic with brittle failure), that avoids the need for explicit concrete microstructure geometry representations. The model links information from the composition at the microscale (phase volume fractions) to the macroscale fracture behavior, while costing the same as a fully homogenized model. We show that a similar peridynamic homogenized model fails in capturing the correct fracture modes/patterns in these problems where the microstructure controls failure behavior. The multiscale model is used to study fracture in reinfo
@moorepants
moorepants / subs_derivatives.ipynb
Last active Nov 1, 2019
Example showing that subs doesn't work as you might expect with derivatives.
View subs_derivatives.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / example_results.txt
Last active Oct 17, 2019
Figuring out how to do speedy evaluation of lists of SymPy expressions.
View example_results.txt
Testing results.
Timing the functions.
Timing: cython
cython time: 0.00288254904747 s
Timing: numpy_broadcast
numpy_broadcast time: 0.00597401690483 s
You can’t perform that action at this time.