Prediction of material fracture toughness as function of microstructure