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::NeumannBC1< dim > Class Template Reference

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

#include <problem_data.hpp>

Inheritance diagram for problem_data::NeumannBC1< dim >:

Public Member Functions

virtual double value (const Point< dim > &p, const unsigned int component=0) const override
 Returns the value of the Neumann BC at a given point.
 
template<typename number >
number 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::NeumannBC1< dim >

Neumann boundary condition (right and top) function.

This class defines Neumann 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::NeumannBC1< dim >::value ( const Point< dim > & p,
const unsigned int component = 0 ) const
inlineoverridevirtual

Returns the value of the Neumann 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 >
number problem_data::NeumannBC1< 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: