An introduction to element-based galerkin methods on tensor-product bases : Analysis, algorithms, and applications.