Reaction coefficient function.
More...
#include <problem_data.hpp>
|
| virtual double | value (const Point< dim > &p, const unsigned int component=0) const override |
| | Returns the value of the reaction coefficient at a given point.
|
| |
| template<typename number > |
| number | value (const Point< dim, number > &, const unsigned int=0) const |
| | Templated version of value() for different number types.
|
| |
template<int dim>
class problem_data::ReactionCoefficient< dim >
Reaction coefficient function.
This class defines a constant reaction coefficient for a PDE.
- Template Parameters
-
| dim | Dimension of the problem. |
◆ value() [1/2]
Returns the value of the reaction coefficient at a given point.
- Parameters
-
| p | Point at which the coefficient is evaluated. |
| component | Component index. |
- Returns
- Coefficient value at point p.
◆ value() [2/2]
template<int dim>
template<typename number >
Templated version of value() for different number types.
- Template Parameters
-
| number | Number type (e.g., double, vectorArray). |
- Parameters
-
| p | Point at which the coefficient is evaluated. |
| component | Component index. |
- Returns
- Coefficient value at point p.
The documentation for this class was generated from the following file: