Experimental::GridFunctionSpace does not have a 'size' method
The old GridFunctionSpaces have this method. Witness this by applying the following short patch to testdunefunctionsgfs.cc:
@@ -89,6 +89,10 @@ void solvePoissonProblem()
typedef PDELab::Experimental::GridFunctionSpace<Basis,VectorType,Constraints> GridFunctionSpace;
GridFunctionSpace gfs(basis,con);
+ // Test the 'size' method
+ if (order==1 and gfs.size() != gridView.size(dim))
+ DUNE_THROW(Exception, "gfs.size() does not return the correct number!");
+
// Container for the Dirichlet boundary conditions
typedef typename GridFunctionSpace::template ConstraintsContainer<double>::Type C;
C constraintsContainer;
This issue is of low priority for me, because I can always call basis.size() instead of gfs.size(). However, it may become a problem in more complicated situations than mine.