Go to the source code of this file.
Functions | |
void | cs_gwf_toolbox_bateman (double time_eval, const cs_gwf_tracer_decay_chain_t *tdc, const double init_inv[], double eval_inv[]) |
Define the values of the inventory for each tracer at the time time_eval given as parameter from an initial inventory. The evolution of the inventory follows the Bateman's solution without source term. More... | |
void cs_gwf_toolbox_bateman | ( | double | time_eval, |
const cs_gwf_tracer_decay_chain_t * | tdc, | ||
const double | init_inv[], | ||
double | eval_inv[] | ||
) |
Define the values of the inventory for each tracer at the time time_eval given as parameter from an initial inventory. The evolution of the inventory follows the Bateman's solution without source term.
The decay coefficient is automatically retrieved from the data settings given when creating the decay chain. One assumes that the inventory values are given in mol. The time unit (s, hour, year...) has to be consistent with the unit given as parameter at the definition of the decay chain and with the value of time_eval.
[in] | time_eval | time at which one evaluates the new inventory |
[in] | tdc | decay chain to consider |
[in] | init_inv | initial inventory for each tracer in the chain |
[in,out] | eval_inv | resulting inventory at the given time |