numDofs is not actually the number of degrees of freedom
The grid geometry rather returns the number of dof locations where each location might have several degrees of freedom.
The grid geometry rather returns the number of dof locations where each location might have several degrees of freedom.