PRISMS-PF Manual v3.0-pre
Loading...
Searching...
No Matches
vectorBCFunction.h
1/*
2 * vectorBCFunction.h
3 *
4 * Created on: Feb 22, 2017
5 * Author: stephendewitt
6 */
7
8#ifndef INCLUDE_VECTORBCFUNCTION_H_
9#define INCLUDE_VECTORBCFUNCTION_H_
10
11#include <deal.II/base/function.h>
12#include <deal.II/base/point.h>
13#include <deal.II/lac/vector.h>
14
15template <int dim>
16class vectorBCFunction : public dealii::Function<dim, double>
17{
18public:
19 vectorBCFunction(const std::vector<double> &BC_values);
20 virtual void
21 vector_value(const dealii::Point<dim> &p,
22 dealii::Vector<double> &values) const override;
23
24 virtual void
25 vector_value_list(const std::vector<dealii::Point<dim>> &points,
26 std::vector<dealii::Vector<double>> &value_list) const override;
27
28private:
29 const std::vector<double> BC_values;
30};
31
32#endif
Definition vectorBCFunction.h:17