Investigation on the Structural Response of Plates and Shells with Variable Mechanical Properties: Modeling of the Damage