Reaction calculation 4190

resolve the merge conflict...
Ref #4190 
I will work with the tmp variables. Probably calling in postsolvestatevar or postsolveqp will be the most efficient. I will share the code with you before merge.