An integral representation of fields with applications to finite element analysis of spatially varying materials. (September 2020)