Programming of composite plates damage calculation