grid_function_hash<E,T> Type |
template<class E, class T> class grid_function_hash;
The class template grid_function_function is an implementation of the Total Grid Function concept. It works for any element type for which the hash template has been specialized.
Defined in grid-function-hash.h
Parameter | Description | Default |
E | the element type | |
T | the value type | |
E must be a model of Grid Element.
The hash template must be specialized for E.
T must be a model of STL Assignable.
grid_function_hash_base<E,T>, defined in grid-function-hash.h.
a_grid_type g; typedef grid_types<a_grid_type> gt; partial_grid_function<gt::Vertex, int> color(g,black); mark_white_vertices(g,colors);
Used for implementation of total grid functions for most grids, for example RegGrid2D and total grid function for the element types Vertex and Cell of Complex2D.
These implemenentations rely on the technique of partial specialization.
Guntram Berti
grid_function_hash<E,T> Type |