179 research outputs found
Efficient Compilation of a Class of Variational Forms
We investigate the compilation of general multilinear variational forms over
affines simplices and prove a representation theorem for the representation of
the element tensor (element stiffness matrix) as the contraction of a constant
reference tensor and a geometry tensor that accounts for geometry and variable
coefficients. Based on this representation theorem, we design an algorithm for
efficient pretabulation of the reference tensor. The new algorithm has been
implemented in the FEniCS Form Compiler (FFC) and improves on a previous
loop-based implementation by several orders of magnitude, thus shortening
compile-times and development cycles for users of FFC.Comment: ACM Transactions on Mathematical Software 33(3), 20 pages (2007
Efficient Representation of Computational Meshes
We present a simple yet general and efficient approach to representation of
computational meshes. Meshes are represented as sets of mesh entities of
different topological dimensions and their incidence relations. We discuss a
straightforward and efficient storage scheme for such mesh representations and
efficient algorithms for computation of arbitrary incidence relations from a
given initial and minimal set of incidence relations. The general
representation may harbor a wide range of computational meshes, and may also be
specialized to provide simple user interfaces for particular meshes, including
simplicial meshes in one, two and three space dimensions where the mesh
entities correspond to vertices, edges, faces and cells. It is elaborated on
how the proposed concepts and data structures may be used for assembly of
variational forms in parallel over distributed finite element meshes.
Benchmarks are presented to demonstrate efficiency in terms of CPU time and
memory usage
Algorithms and Data Structures for Multi-Adaptive Time-Stepping
Multi-adaptive Galerkin methods are extensions of the standard continuous and
discontinuous Galerkin methods for the numerical solution of initial value
problems for ordinary or partial differential equations. In particular, the
multi-adaptive methods allow individual and adaptive time steps to be used for
different components or in different regions of space. We present algorithms
for efficient multi-adaptive time-stepping, including the recursive
construction of time slabs and adaptive time step selection. We also present
data structures for efficient storage and interpolation of the multi-adaptive
solution. The efficiency of the proposed algorithms and data structures is
demonstrated for a series of benchmark problems.Comment: ACM Transactions on Mathematical Software 35(3), 24 pages (2008
DOLFIN: Automated Finite Element Computing
We describe here a library aimed at automating the solution of partial differential equations using the finite element method. By employing novel techniques for automated code generation, the library combines a high level of expressiveness with efficient computation. Finite element variational forms may be expressed in near mathematical notation, from which low-level code is automatically generated, compiled and seamlessly integrated with efficient implementations of
computational meshes and high-performance linear algebra. Easy-to-use object-oriented interfaces to the library are provided in the form of a C++ library and a Python module. This paper discusses the mathematical abstractions and methods used in the design of the library and its implementation. A number of examples are presented to demonstrate the use of the library in application code
Solving Poisson's Equation on the Microsoft HoloLens
We present a mixed reality application (HoloFEM) for the Microsoft HoloLens.
The application lets a user define and solve a physical problem governed by
Poisson's equation with the surrounding real world geometry as input data.
Holograms are used to visualise both the problem and the solution. The finite
element method is used to solve Poisson's equation. Solving and visualising
partial differential equations in mixed reality could have potential usage in
areas such as building planning and safety engineering.Comment: 2 pages, 9 figure
- ā¦