Assumption:-Grains having Higher schmid factor (due to slip system) will undergo slip mechanism and similarly Grains having Higher schmid factor (due to twin system) will undergo twin mechanism.
This programs sort different grains, whether it will undergo slip or twin in FCC material.
First Run tex_to_text.m to convert .tex file to .txt file. It will also remove the char from the file and it will retain only numeric. After it run sort_grains_slip_twin.m