Smart finite elements: An application of machine learning to reduced-order modeling of multi-scale problems