Namespaces | Modules | Functions
Integrators
Collaboration diagram for Integrators:

Namespaces

namespace  LocalIntegrators::Divergence
 

Local integrators related to the divergence operator and its trace.


namespace  LocalIntegrators::Elasticity
 

Local integrators related to elasticity problems.


namespace  LocalIntegrators::L2
 

Local integrators related to L2-inner products.


namespace  LocalIntegrators
 

Library of integrals over cells and faces.


namespace  LocalIntegrators::Maxwell
 

Local integrators related to curl operators and their traces.


namespace  MeshWorker

Modules

 The MeshWorker interface

Functions

template<int dim>
void LocalIntegrators::Laplace::cell_matrix (FullMatrix< double > &M, const FEValuesBase< dim > &fe, const double factor=1.)

Detailed Description

A collection of namespaces and functions which simplify the coding of forms and bilinear forms on finite element spaces. Functions for two different purposes are gathered here: the abstract integration on finite element meshes in MeshWorker and actual implementations of the integration of cell and face terms for concrete problems in LocalIntegrators.

Integration on finite element meshes

When we integrate a function or a functional on a finite element space, the structure of the integration loop is always the same. We have between 3 and 5 nested loops, from outside to inside:

  1. Loop over all cells
  2. Optionally, loop over all faces to compute fluxes
  3. Loop over all quadrature points of the cell/face
  4. Optionally, loop over all test functions to compute forms
  5. Optionally, loop over all trial functions to compute bilinear forms

These loops naturally fall into two classes, namely the computation of cell and face contributions (loops 3 to 5), and the outer loops over the mesh objects, often referred to as assembling.

Support for the outer loop in deal.II can be found in the namespace MeshWorker (see the documentation there). In order to support the cell and face contributions (referred to as local contributions from now on), deal.II offers FEValuesBase and its derived classes. While the outer loop is generic (with exception of the data types), the computation of local contributions is problem dependent. Therefore, no generic algorithm is possible here. Nevertheless, we can define a generic interface for functions for this purpose and provide a library of local integrators for use in applications. These are collected in the namespace LocalIntegrators


Function Documentation

template<int dim>
void LocalIntegrators::Laplace::cell_matrix ( FullMatrix< double > &  M,
const FEValuesBase< dim > &  fe,
const double  factor = 1. 
)

Laplacian in weak form, namely on the cell Z the matrix

\[ \int_Z \nu \nabla u \cdot \nabla v \, dx. \]

The FiniteElement in fe may be scalar or vector valued. In the latter case, the Laplacian is applied to each component separately.

Author:
Guido Kanschat
Date:
2008, 2009, 2010

References FEValuesBase< dim, spacedim >::dofs_per_cell, FEValuesBase< dim, spacedim >::get_fe(), FEValuesBase< dim, spacedim >::JxW(), FEValuesBase< dim, spacedim >::n_quadrature_points, and FEValuesBase< dim, spacedim >::shape_grad_component().


deal.II documentation generated on Fri Aug 12 2011 15:01:01 by doxygen 1.7.4