Dirichlet boundary condition (left and bottom) 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 Dirichlet BC at a given point.
|
| |
| template<typename number > |
| double | value (const Point< dim, number > &p, const unsigned int=0) const |
| | Templated version of value() for different number types.
|
| |
template<int dim>
class problem_data::DirichletBC1< dim >
Dirichlet boundary condition (left and bottom) function.
This class defines Dirichlet boundary conditions on the left and bottom boundaries.
- Template Parameters
-
| dim | Dimension of the problem. |
◆ value() [1/2]
Returns the value of the Dirichlet BC at a given point.
- Parameters
-
| p | Point at which the BC is evaluated. |
| component | Component index. |
- Returns
- BC 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 BC is evaluated. |
| component | Component index. |
- Returns
- BC value at point p.
The documentation for this class was generated from the following file: