Commit d2b43918 authored by Lukas Riedel's avatar Lukas Riedel 📝

fixed #44

parent e7a6fa94
......@@ -100,7 +100,9 @@ namespace Dune {
public:
explicit NearestNeighborInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_)
: IB(InterpolationMethod::nearest, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{}
{
update_pos(Domain(0.0));
}
private:
......@@ -141,7 +143,9 @@ namespace Dune {
public:
explicit NearestNeighborInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_)
: IB(InterpolationMethod::nearest, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{}
{
update_pos(Domain(0.0));
}
private:
......@@ -196,7 +200,9 @@ namespace Dune {
explicit LinearInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_)
: IB(InterpolationMethod::linear, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{}
{
update_pos(Domain(0.0));
}
private:
......@@ -252,7 +258,9 @@ namespace Dune {
public:
explicit LinearInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_)
: IB(InterpolationMethod::linear, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{}
{
update_pos(Domain(0.0));
}
private:
void update_pos(const Domain& pos)
......@@ -332,7 +340,9 @@ namespace Dune {
explicit CubicInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_)
: IB(InterpolationMethod::cubic, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{}
{
update_pos(Domain(0.0));
}
private:
......@@ -412,7 +422,9 @@ namespace Dune {
public:
explicit CubicInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_)
: IB(InterpolationMethod::cubic, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{}
{
update_pos(Domain(0.0));
}
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment