Analyzing of continuous and discontinuous contact problems of a functionally graded layer: theory of elasticity and finite element method | Synapse