Help for source term in advection diffusion equation

Hi everyone,
I used to use MATLAB and write my own code until I found Palabos.
Nowdays, I am trying to implement a reaction source. I notices the dynamic “AdvectionDiffusionWithSourceBGKDynamic”, But I do not find the source term. How to transfer it to the corresponding class or function ?
Thank you in advance !

Xuesong

Hi all,
I find the partial function/class "setExternalScalar(lattice, domain, whichScalar, externalScalar) ", I will try.