Numerical tool for the analysis of CTOD curves obtained by DIC or FEM