Calculating dislocation density form output files

How can I calculate dislocation densory from an output file?