Update state with source variable "ps_sourceCoeff".
The source in advection diffusion equation for passive scalar is It evaluates spacetime function defined in lua file for the source coefficient variable and convert it to state value which is to be added to the state
Reference: Irina Ginzburg (2005), "Equilibrium-type and link-type lattice Boltzmann models for generic advection and anisotropic-dispersion equation", Advances in Water Resources, Volume 28, Issue 11
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mus_source_op_type), | intent(in) | :: | fun |
Description of method to apply source terms |
||
| real(kind=rk), | intent(in) | :: | inState(:) |
input pdf vector |
||
| real(kind=rk), | intent(inout) | :: | outState(:) |
output pdf vector |
||
| integer, | intent(in) | :: | neigh(:) |
connectivity Array corresponding to state vector |
||
| real(kind=rk), | intent(in) | :: | auxField(:) |
auxField array |
||
| integer, | intent(in) | :: | nPdfSize |
number of elements in state Array |
||
| integer, | intent(in) | :: | iLevel |
current level |
||
| type(tem_varSys_type), | intent(in) | :: | varSys |
variable system |
||
| type(tem_time_type), | intent(in) | :: | time |
Point in time at which to evaluate the variable. |
||
| type(mus_convertFac_type), | intent(in) | :: | phyConvFac |
Physics conversion factor for current level |
||
| type(mus_derVarPos_type), | intent(in) | :: | derVarPos(:) |
position of derived quantities in varsys |