partial_grid_function_<E,T> Type |
template<class E, class T> class partial_grid_function;
The class template partial_grid_function is an implementation of the Partial Grid Function concept. It works for any element type, provided there is a specialization of the hash template for this type defined.
Defined in partial-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; grid_function_vector<gt::Edge, double> length(g); for(gt::EdgeIterator e(g); ! e.IsDone(); ++e) length[*e] = distance(geom.coord((*e).V1()), geom.coord((*e).V2()));
Used for implementation of total grid functions for Complex2D::Edge.
grid-function-vector grid-function-hash
Guntram Berti
partial_grid_function_<E,T> Type |