DOLFIN User Manual - FEniCS Project
DOLFIN User Manual - FEniCS Project DOLFIN User Manual - FEniCS Project
DOLFIN User ManualHoffman, Jansson, Logg, Wellslibraries, you need to install FIAT and FFC if you want to define your ownvariational forms.Installing Libxml2Libxml2 is a library used by DOLFIN to parse XML data files. Libxml2 canbe obtained fromhttp://xmlsoft.org/Packages are available for most Linux distributions. For Debian users, thepackage to install is libxml2-dev.Installing PETScPETSc is a library for the solution of linear and nonlinear systems, functioningas the backend for the DOLFIN linear algebra classes. DOLFIN dependson PETSc version 2.3.1 (or 2.3.0), which can be obtained fromhttp://www-unix.mcs.anl.gov/petsc/petsc-2/Follow the installation instructions on the PETSc web page. Normally, youshould only have to perform the following simple steps in the PETSc sourcedirectory:# export PETSC_DIR=‘pwd‘# ./config/configure.py --with-clanguage=cxx --with-shared=1# make allAdd --download-hypre=yes to configure.py if you want to install Hyprewhich provides a collection of preconditioners, including algebraic multigrid(AMG).98
DOLFIN User ManualHoffman, Jansson, Logg, WellsDOLFIN assumes that PETSC DIR is /usr/local/lib/petsc/ but this canbe controlled using the flag --with-petsc-dir= when configuringDOLFIN (see below).Installing FFCDOLFIN uses the FEniCS Form Compiler FFC to process variational forms.FFC can be obtained fromhttp://www.fenics.org/Follow the installation instructions given in the FFC manual. FFC followsthe standard for Python packages, which means that normally you shouldonly have to perform the following simple step in the FFC source directory:# python setup.py installNote that FFC depends on FIAT , which in turn depends on the Python packagesNumeric (Debian package python-numeric) and LinearAlgebra (Debianpackage python-numeric-ext). Refer to the FFC manual for further details.B.1.2Downloading the source codeThe latest release of DOLFIN can be obtained as a tar.gz archive in thedownload section athttp://www.fenics.org/Download the latest release of DOLFIN, for example dolfin-0.1.0.tar.gz,and unpack using the command99
- Page 48 and 49: DOLFIN User ManualHoffman, Jansson,
- Page 50 and 51: DOLFIN User ManualHoffman, Jansson,
- Page 53 and 54: Chapter 8Nonlinear solver◮ Develo
- Page 55: DOLFIN User ManualHoffman, Jansson,
- Page 58 and 59: DOLFIN User ManualHoffman, Jansson,
- Page 60 and 61: DOLFIN User ManualHoffman, Jansson,
- Page 62 and 63: DOLFIN User ManualHoffman, Jansson,
- Page 65 and 66: Chapter 10The log systemDOLFIN prov
- Page 67 and 68: DOLFIN User ManualHoffman, Jansson,
- Page 69 and 70: DOLFIN User ManualHoffman, Jansson,
- Page 71: DOLFIN User ManualHoffman, Jansson,
- Page 74 and 75: DOLFIN User ManualHoffman, Jansson,
- Page 76 and 77: DOLFIN User ManualHoffman, Jansson,
- Page 78 and 79: DOLFIN User ManualHoffman, Jansson,
- Page 80 and 81: DOLFIN User ManualHoffman, Jansson,
- Page 82 and 83: DOLFIN User ManualHoffman, Jansson,
- Page 85: Bibliography[1] Cygwin, 2005. http:
- Page 88 and 89: v 2 v 0 = (0, 0)DOLFIN User ManualH
- Page 90 and 91: DOLFIN User ManualHoffman, Jansson,
- Page 92 and 93: DOLFIN User ManualHoffman, Jansson,
- Page 94 and 95: DOLFIN User ManualHoffman, Jansson,
- Page 96 and 97: DOLFIN User ManualHoffman, Jansson,
- Page 100 and 101: DOLFIN User ManualHoffman, Jansson,
- Page 102 and 103: DOLFIN User ManualHoffman, Jansson,
- Page 105 and 106: Appendix CContributing codeIf you h
- Page 107 and 108: DOLFIN User ManualHoffman, Jansson,
- Page 109 and 110: Appendix DLicenseDOLFIN is licensed
- Page 111 and 112: DOLFIN User ManualHoffman, Jansson,
- Page 113 and 114: DOLFIN User ManualHoffman, Jansson,
- Page 115: DOLFIN User ManualHoffman, Jansson,
- Page 118: DOLFIN User ManualHoffman, Jansson,
<strong>DOLFIN</strong> <strong>User</strong> <strong>Manual</strong>Hoffman, Jansson, Logg, Wellslibraries, you need to install FIAT and FFC if you want to define your ownvariational forms.Installing Libxml2Libxml2 is a library used by <strong>DOLFIN</strong> to parse XML data files. Libxml2 canbe obtained fromhttp://xmlsoft.org/Packages are available for most Linux distributions. For Debian users, thepackage to install is libxml2-dev.Installing PETScPETSc is a library for the solution of linear and nonlinear systems, functioningas the backend for the <strong>DOLFIN</strong> linear algebra classes. <strong>DOLFIN</strong> dependson PETSc version 2.3.1 (or 2.3.0), which can be obtained fromhttp://www-unix.mcs.anl.gov/petsc/petsc-2/Follow the installation instructions on the PETSc web page. Normally, youshould only have to perform the following simple steps in the PETSc sourcedirectory:# export PETSC_DIR=‘pwd‘# ./config/configure.py --with-clanguage=cxx --with-shared=1# make allAdd --download-hypre=yes to configure.py if you want to install Hyprewhich provides a collection of preconditioners, including algebraic multigrid(AMG).98