This template has to be specialized for concrete types of grid elements E. For example, E = Complex2D::Vertex , E = RegGrid2D::Edge, ... T is a user-selected type More...
#include </home/guntram/tmp/GrAL/gral/base/include/Gral/Base/grid-functions.h>
This template has to be specialized for concrete types of grid elements E. For example, E = Complex2D::Vertex , E = RegGrid2D::Edge, ... T is a user-selected type
A grid_function<E,T>
represents a mapping
Functionality:
Example:
grid_function<Vertex,int> vnum(G.NumOfVertices());
for(vit = G.FirstVertex(), i = 0; ! vit.IsDone(); ++i, ++vit)
vnum[*vit] = i;
....
A(vnum(V),vnum(W)) = a(Phi(V),Phi(W));
Grid Functions module
Definition at line 55 of file grid-functions.h.