These Matlab scripts illustrate the numerical solution of two one-dimensional tensile rods equipped with integro-differential and strain-gradient constitutive laws by means of classical Hermitian and Lagrangian finite element discretizations, B-spline finite element discretizations and C∞ generalized finite element discretizations.
Reference
M. Malagù, E. Benvenuti, C. A. Duarte, and A. Simone. One-dimensional nonlocal and gradient elasticity: Assessment of high order approximation schemes. Computer Methods in Applied Mechanics and Engineering, accepted for publication, 22 February, 2014 (www.sciencedirect.com/science/article/pii/S0045782514000723)