Determination of residual casting solvent concentration gradients in