Dynamical properties of a composite microcracked bar based on a generalized continuum formulation