This file contains hidden or 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
# http://matforge.org/wd15/blog | |
from __future__ import division | |
from fipy import * | |
# Grid things | |
N = 1000 | |
D = 1 | |
dx = D / N | |
m = Grid1D(nx=N+1, dx=dx) + [[-dx/2.]] | |
I_right = CellVariable(mesh=m, value=1., name='I_right') # Intensity along the positive direction |
This file contains hidden or 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 file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by libmesh configure 0.9.1pre, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --disable-tecplot --enable-tecio --with-netcdf=old --with-exodus=old --with-nemesis=old | |
## --------- ## | |
## Platform. ## |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install --qt vtk | |
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid | |
==> Downloading http://www.vtk.org/files/release/5.10/vtk-5.10.1.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/vtk-5.10.1.tar.gz | |
tar xf /Library/Caches/Homebrew/vtk-5.10.1.tar.gz | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file Wrapping/Python/setup_install_paths.py | |
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/vtk/5.10.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DVTK_REQUIRED_OBJCXX_FLAGS='' -DVTK_USE_CARBON=OFF -DVTK_USE_TK=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DIOKit:FILEPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/IOKit.framework -DCMAKE_INSTALL_RPATH:STRING='/usr/local/Cellar/vtk/5.10.1/lib/vtk-5.10' -DCMAKE_INSTALL_NAME_DIR:STRING='/usr/local/Cellar/vtk/5.10.1/lib/vtk-5.10' -DBUILD_EXAMPLES=OFF -DVT |
This file contains hidden or 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/local/Cellar/cmake/2.8.11/bin/cmake -H/Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source -B/Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source/TEST1 --check-build-system CMakeFiles/Makefile.cmake 0 | |
/usr/local/Cellar/cmake/2.8.11/bin/cmake -E cmake_progress_start /Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source/TEST1/CMakeFiles /Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source/TEST1/CMakeFiles/progress.marks | |
make -f CMakeFiles/Makefile2 all | |
make -f packages/teuchos/src/CMakeFiles/teuchos.dir/build.make packages/teuchos/src/CMakeFiles/teuchos.dir/depend | |
cd /Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source/TEST1 && /usr/local/Cellar/cmake/2.8.11/bin/cmake -E cmake_depends "Unix Makefiles" /Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source /Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source/packages/teuchos/src /Users/guyer/.virtualenvs/trilinos/build/trilinos-11.0.3-Source/TEST1 /Users/guyer/.virtualenvs/trilinos/bu |
This file contains hidden or 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
Scanning dependencies of target teuchos | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_ArrayView.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_BLAS.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CommandLineProcessor.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CompObject.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CWrapperSupport.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_Describable.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_Dependency.cpp.o | |
[ 0%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_DependencySheet.cpp.o |
This file contains hidden or 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
BUILD START: weirdness-1.2.3-py27_1 | |
Fetching package metadata: ...... | |
Solving package specifications: . | |
The following NEW packages will be INSTALLED: | |
openssl: 1.0.1k-0 | |
python: 2.7.9-1 | |
readline: 6.2-2 | |
sqlite: 3.8.4.1-0 | |
tk: 8.5.15-0 |
This file contains hidden or 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
from fipy import * | |
#numerix.random.seed(13) | |
from scipy import interpolate | |
import matplotlib.pyplot as plt | |
import matplotlib.mlab as ml | |
import time | |
fig = plt.figure(figsize=(15,6)) | |
ax1 = plt.subplot((121)) | |
ax2 = plt.subplot((122)) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
from fipy import * | |
import time | |
# Spatial parameters | |
nx = 27000 # bins | |
dx = 1. | |
L = nx * dx | |
# Diffusion and time step | |
D = 1. |
OlderNewer