1/** @brief class Linear_reaction is used to enable simulation of simple chemical reactions
2 *
3 * Class in this file makes it possible to realize simulation of reaction of the first order by simple matrix multiplication.
4 * One step of the linear reaction is represented as a product of a matrix containing concentrations of observed speciesin elements in rows multiplied by so called
5 * reaction_matrix. Through this way radioactive decay can bee also realized and that was exactly what we did at the begining of journey. :-)
6 * Matrix containing concentrations has a dimension Nxn, where N is a number of elements in mesh and n denotes a number of transported chemical species.
7 * The reaction_matrix is a square matrix and it has a dimension nxn.
45 * For simulation of chemical reaction in just one element either inside of MOBILE or IMMOBILE pores.
46 */
47virtualdouble **compute_reaction(double **concentrations, int loc_el) override;
48 /**
49 * Prepared to compute simple chemical reactions inside all of considered elements. It calls compute_reaction(...) for all the elements controled by concrete processor, when the computation is paralelized.
53 * This method modificates reaction matrix as described in ini-file a single section [Decay_i] or [FoReact_i]. It is used when bifurcation is switched off.