Text this: Layered nonhomogeneous curved beam elements for inelastic analysis