mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-08-09 16:25:46 +00:00
19 lines
No EOL
484 B
C++
19 lines
No EOL
484 B
C++
#ifndef NEUMANNBOUNDARYCONDITION_HPP
|
|
#define NEUMANNBOUNDARYCONDITION_HPP
|
|
|
|
#include "BoundaryCondition.hpp"
|
|
|
|
namespace spatial
|
|
{
|
|
|
|
class NeumannBoundaryCondition : public BoundaryCondition
|
|
{
|
|
public:
|
|
NeumannBoundaryCondition(std::function<double (double, double, double)> f)
|
|
: BoundaryCondition(f) {};
|
|
|
|
BoundaryConditionType getType() const override {return BoundaryConditionType::Neumann;};
|
|
};
|
|
|
|
} // namespace
|
|
#endif // ifndef NEUMANNBOUNDARYCONDITION_HPP
|