Discontinuous Galerkin finite element differential calculus and applications to numerical solutions of linear and nonlinear partial differential equations