FunctionMap< dim > Struct Template Reference
[Functions]

List of all members.

Public Types

typedef std::map< unsigned
char, const Function< dim > * > 
type


Detailed Description

template<int dim>
struct FunctionMap< dim >

Declare a data type which denotes a mapping between a boundary indicator and the function denoting the boundary values on this part of the boundary. This type is required in many functions where depending on the boundary indicator, different functions are used. An example is boundary value interpolation.

It seems odd at first to declare this typedef inside a class, rather than declaring a typedef at global scope. The reason is that C++ does not allow to define templated typedefs, where here in fact we want a typdef that depends on the space dimension.

Author:
Wolfgang Bangerth, Ralf Hartmann, 2001

Member Typedef Documentation

template<int dim>
typedef std::map<unsigned char, const Function<dim>*> FunctionMap< dim >::type

Declare the type as discussed above. Since we can't name it FunctionMap (as that would ambiguate a possible constructor of this class), name it in the fashion of the STL local typedefs.


The documentation for this struct was generated from the following file:

deal.II documentation generated on Sat Aug 15 16:52:00 2009 by doxygen 1.5.9