![]() |
Reference documentation for deal.II version 8.1.0
|
#include <function_map.h>
Public Types | |
typedef std::map < types::boundary_id, const Function< dim > * > | type |
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.
Definition at line 36 of file vector_tools.h.
typedef std::map<types::boundary_id, 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.
Definition at line 56 of file function_map.h.