This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import operator | |
import nltk | |
import re | |
from dateutil import parser | |
import glob | |
often_words = ['aboard', 'about', 'above', 'across', 'after', 'against', 'along', 'amid', 'among', 'anti', 'around', 'as', 'at', 'before', 'behind', 'below', 'beneath', 'beside', 'besides', 'between', 'beyond', 'but', 'by', 'concerning', 'considering', 'despite', 'down', 'during', 'except', 'excepting', 'excluding', 'following', 'for', 'from', 'in', 'inside', 'into', 'like', 'minus', 'near', 'of', 'off', 'on', 'onto', 'opposite', 'outside', 'over', 'past', 'per', 'the', 'a', 'plus', 'regarding', 'round', 'save', 'since', 'than', 'through', 'to', 'toward', 'towards', 'under', 'underneath', 'unlike', 'until', 'up', 'upon', 'versus', 'via', 'with', 'within', 'without', 'account', 'embedded', 'permalink', 'dec', 'jan', 'retweets', 'image', 'hours', '2015', 'reply', 'you', 'is', 'are', 'am', 'was', 'were', 'will', | |
'do', 'does', 'did', 'have', 'had', 'has', 'can', 'could', 'should', 'shall', 'may', 'might', 'would', 'likes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Trilinos < Formula | |
desc "Algorithms for the solution of large-scale, complex multi-physics engineering and scientific problems" | |
homepage "http://trilinos.sandia.gov" | |
url "https://trilinos.org/oldsite/download/files/trilinos-12.0.1-Source.tar.bz2" | |
sha256 "cab674e88c8ca2d2c54176af60030ed28203c0793f3c64c240363dbe7fa46b99" | |
head "https://software.sandia.gov/trilinos/repositories/publicTrilinos", :using => :git | |
option "with-teko", "Enable the Teko secondary-stable package" | |
option "with-shylu", "Enable the ShyLU experimental package" | |
option "with-check", "Perform build time checks (time consuming and contains failures)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
# brew install --without-suite-sparse --without-tbb --without-python --with-mpi | |
class Trilinos < Formula | |
homepage 'http://trilinos.sandia.gov' | |
url 'http://trilinos.sandia.gov/download/files/trilinos-11.10.2-Source.tar.gz' | |
sha1 'f7442cef35c4dea4f3535e0859deda88f68e72fc' | |
head 'https://software.sandia.gov/trilinos/repositories/publicTrilinos', :using => :git | |
option "with-teko", "Enable the Teko secondary-stable package" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Swig < Formula | |
url 'http://prdownloads.sourceforge.net/swig/swig-3.0.0.tar.gz' | |
homepage 'http://www.swig.org/' | |
# md5 '4319c503ee3a13d2a53be9d828c3adc0' | |
depends_on 'pcre' | |
def install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <cassert> | |
#include "BvpOde.hpp" | |
BvpOde::BvpOde(SecondOrderOde* pOde,BoundaryConditions* pBcs, int numNodes){ | |
mpOde = pOde; mpBconds = pBcs; | |
mNumNodes = numNodes; | |
mpGrid = new FiniteDifferenceGrid(mNumNodes, pOde->mXmin, pOde->mXmax); | |
mpRhsVec = new VectorXd(mNumNodes); |
NewerOlder