Up Next
Go up to Grid functions
Go forward to grid_function_hash<E,T> Type

grid_function_vector<E,T> Type

Declaration
template<class E, class T>
class grid_function_vector;
Description
The class template grid_function_function is an implementation of the Total Grid Function concept. It works for any element type whose handles are consecutively ordered integers X.
Model of
Total Grid Function
Definition
Defined in grid-function-vector.h
Template parameters
Parameter Description Default
E the element type  
T the value type  
Type requirements
E must be a model of Grid Element.
T must be a model of STL Assignable.
Public base classes
grid_function_hash_base<E,T>, defined in grid-function-hash.h.
Members
New members
Example
 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);
Known uses
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.

Notes
  1. Currently, it is not possible to obtain this information at compile time.
See also
partial-grid-function-hash


Guntram Berti

Up Next