Skip to content

Instantly share code, notes, and snippets.

@smaret
Last active June 30, 2016 15:14
Show Gist options
  • Save smaret/1e6096deec4e230fbaa71e4238be39af to your computer and use it in GitHub Desktop.
Save smaret/1e6096deec4e230fbaa71e4238be39af to your computer and use it in GitHub Desktop.
Astrochem Python interface segfault bug
from astrochem.wrapper import *
import numpy as np
p = phys()
initial_abundances = {}
c = cell(av=20, nh=1e3, tgas=10, tdust=10)
s = solver(c, "network.chm", p , 1e-15, 1e-6, initial_abundances, 1e3, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment