Refs #8778 Added bool variable to perform local regression