Fundamentals of Continuum Mechanics: With Applications to Mechanical, Thermomechanical, and Smart Materials