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
# Load modules | |
module unload intel-suite/10.1 | |
module load armadillo/1.1.90 cgal/3.5 mpfr/2.4.1 intel-suite/11.1 mumps/4.9.2-parmetis parmetis/3.1 petsc/3.1-p6 scipy/2009-08-25 swig/2.0.2 | |
# Platform specific variables | |
default UMFPACK_DIR=/usr | |
default PETSC_ARCH=linux-gnu-cxx-op | |
default GMP_DIR=/usr | |
default SCOTCH_ARCH=pc_linux2 |
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
#!/bin/bash | |
# | |
# Shell script that configures terminator to use solarized theme | |
# colors. Assumes a single terminator profile. Tested on Ubuntu 11.10. | |
# | |
# Solarized theme: http://ethanschoonover.com/solarized | |
# | |
# Original from 79CetiB: | |
# http://www.reddit.com/r/emacs/comments/npfmv/i_need_some_help_with_the_solarized_theme_in_a/c3b4mds | |
# |
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
#!/bin/bash | |
# Run Fluidity UFL tests the same way buildbot does | |
(cd spatialindex-1.5; ./autogen.sh) | |
./configure --enable-2d-adaptivity --enable-mba3d --enable-algencan --enable-shared | |
make clean | |
make | |
make -C femtools clean-elements | |
make -C femtools get_element |
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
#!/usr/bin/env python | |
# vi: set et sw=4 st=4: | |
# | |
# 2004-08-27 Jim Tittsler <jwt@starship.python.net> | |
# 2004-10-03 jwt change authentication | |
# 2004-10-04 jwt remove dependency on ClientCookie | |
# 2004-10-07 jwt use getopt to retrieve host, list, password from command | |
# 2004-10-10 jwt return to using ClientCookie | |
# 2004-10-13 jwt add --fullnames option | |
# 2005-02-15 jwt switch on RFC2965 cookie support when newer version |
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
"""This demo program solves Helmholtz's equation | |
- div grad u(x, y) + u(x,y) = f(x, y) | |
on the unit square with source f given by | |
f(x, y) = (1.0 + 8.0*pi**2)*cos(x[0]*2*pi)*cos(x[1]*2*pi) | |
and the analytical solution |
NewerOlder