Refs #7432 use function for evaluation