You can use the library behind K2dGrFlow for other Galerkin Finite Element implementation. Consult the API reference manual for details.
As a help, here are some UML class diagramms :
First the general application classes :

The view classes :

The document classes :

The domain classes :

The topology classes :

The geometry of it all : the net class and relation to topology :

The solver classes :
