mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-08-17 04:10:34 +00:00
19 lines
No EOL
496 B
C++
19 lines
No EOL
496 B
C++
#ifndef DIRICHLETBOUNDARYCONDITION_HPP
|
|
#define DIRICHLETBOUNDARYCONDITION_HPP
|
|
|
|
#include "BoundaryCondition.hpp"
|
|
|
|
namespace spatial
|
|
{
|
|
|
|
class DirichletBoundaryCondition : public BoundaryCondition
|
|
{
|
|
public:
|
|
DirichletBoundaryCondition(std::function<double (double, double, double)> f)
|
|
: BoundaryCondition(f) {};
|
|
|
|
BoundaryConditionType getType() const override {return BoundaryConditionType::Dirichlet;};
|
|
};
|
|
|
|
} // namespace
|
|
#endif // ifndef DIRICHLETBOUNDARYCONDITION_HPP
|