Skip to content

Instantly share code, notes, and snippets.

View berquist's full-sized avatar

Eric Berquist berquist

View GitHub Profile
#!/usr/bin/env python3
import numpy as np
import scipy.constants as spc
from cclib.parser import ccopen
import scripts.periodic_table as pt
def getargs():
import cython
cimport cython
import numpy as np
cimport numpy as np
@cython.boundscheck(False)
@cython.nonecheck(False)
@cython.wraparound(False)
cdef double dot3(double[:] v1, double[:] v2) nogil:
#!/bin/sh
cd test
python test_parser.py
python test_data.py --status --terse
cd ../data && bash regression_download.sh
cd ../test && python run_regressions.py --status --traceback
python test_writer.py
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Maintainer: Fabian Köhler fkoehler1024@gmail.com
# Contributor: Eric Berquist <eric DOT berquist AT gmail DOT com>
_pkgname=lmod
pkgname=$_pkgname-git
pkgver=6.0.8.r10.g0ab13b5
pkgrel=2
pkgdesc="An Environment Module System based on Lua, Reads TCL Modules, Supports a Software Hierarchy"
arch=('i686' 'x86_64')
url="https://www.tacc.utexas.edu/research-development/tacc-projects/lmod"
license=('custom:lmod')
9
C 0.4623340000 -0.7339750000 0.0000000000
C -0.8668080000 -0.0334060000 -0.0000010000
C 0.4044730000 0.7673810000 0.0000000000
H -1.4484130000 -0.0558210000 0.9098070000
H -1.4484160000 -0.0558190000 -0.9098070000
H 0.7725540000 -1.2264490000 -0.9098070000
H 0.7725470000 -1.2264510000 0.9098090000
H 0.6758640000 1.2822730000 0.9098080000
# $Id: PKGBUILD 238190 2015-04-28 11:41:49Z bpiotrowski $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
pkgname=avogadro
pkgver=1.1.1
pkgrel=5
pkgdesc="An advanced molecular editor based on Qt"
arch=('i686' 'x86_64')
#!/usr/bin/env python3
from sympy import conjugate, integrate, pi, sin, symbols
from sympy.functions.special.spherical_harmonics import Ynm
theta, phi = symbols("theta, phi", real=True)
l_max = 1
for l in range(l_max + 1):
@berquist
berquist / dipole.py
Last active September 12, 2015 21:15
#!/usr/bin/env python2
from __future__ import print_function
import numpy as np
import numpy.linalg as npl
import pyquante2
from pyquante2.geo.molecule import molecule
from pyints.one import makeM
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.