Matrix Free Solver 1.0.0
A matrix free solver for the Advection Diffusion Reaction problem implemented with deal.II
Loading...
Searching...
No Matches
problem_data::DirichletBC2< dim > Class Template Reference

Dirichlet boundary condition (right and top) function. More...

#include <problem_data.hpp>

Inheritance diagram for problem_data::DirichletBC2< dim >:

Public Member Functions

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.
 

Detailed Description

template<int dim>
class problem_data::DirichletBC2< dim >

Dirichlet boundary condition (right and top) function.

This class defines Dirichlet boundary conditions on the right and top boundaries.

Template Parameters
dimDimension of the problem.

Member Function Documentation

◆ value() [1/2]

template<int dim>
virtual double problem_data::DirichletBC2< dim >::value ( const Point< dim > & p,
const unsigned int component = 0 ) const
inlineoverridevirtual

Returns the value of the Dirichlet BC at a given point.

Parameters
pPoint at which the BC is evaluated.
componentComponent index.
Returns
BC value at point p.

◆ value() [2/2]

template<int dim>
template<typename number >
double problem_data::DirichletBC2< dim >::value ( const Point< dim, number > & p,
const unsigned int = 0 ) const
inline

Templated version of value() for different number types.

Template Parameters
numberNumber type (e.g., double, vectorArray).
Parameters
pPoint at which the BC is evaluated.
componentComponent index.
Returns
BC value at point p.

The documentation for this class was generated from the following file: