Tools for implementation of elasticity with CUDA kernels