![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Go to the source code of this file.
Classes | |
| class | TracerReactionPrefactorModel |
| class | NoneTracerReactionPrefactor |
| class | ConstantTracerReactionPrefactor |
| class | TanhLevelsetTracerReactionPrefactor |
| class | GaussianLevelsetTracerReactionPrefactor |
Functions | |
| double | calculate_effective_concentration (const double C, const double threshold) |
| double | calculate_d_effective_concentration_dC (const double C, const double threshold) |
|
inline |
Computes the derivative of effective concentration in regards to the input concentration.
| [in] | C | Concentration value |
| [in] | threshold | Threshold value above which effective concentration will be |
Definition at line 39 of file tracer_reaction_model.h.
References calculate_effective_concentration().
|
inline |
Computes the effective concentration above the threshold and with a smooth transition.
This function prevents NaN in the reaction rate computations when the reaction order is lower than 1 by introducing a small threshold value, to be set above 0.
| [in] | C | Concentration value |
| [in] | threshold | Threshold value above which effective concentration will be |
Definition at line 25 of file tracer_reaction_model.h.