Commit d2b43918 authored by Lukas Riedel's avatar Lukas Riedel

fixed #44

parent e7a6fa94
...@@ -100,7 +100,9 @@ namespace Dune { ...@@ -100,7 +100,9 @@ namespace Dune {
public: public:
explicit NearestNeighborInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_) 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) : IB(InterpolationMethod::nearest, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{} {
update_pos(Domain(0.0));
}
private: private:
...@@ -141,7 +143,9 @@ namespace Dune { ...@@ -141,7 +143,9 @@ namespace Dune {
public: public:
explicit NearestNeighborInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_) 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) : IB(InterpolationMethod::nearest, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{} {
update_pos(Domain(0.0));
}
private: private:
...@@ -196,7 +200,9 @@ namespace Dune { ...@@ -196,7 +200,9 @@ namespace Dune {
explicit LinearInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_) 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) : IB(InterpolationMethod::linear, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{} {
update_pos(Domain(0.0));
}
private: private:
...@@ -252,7 +258,9 @@ namespace Dune { ...@@ -252,7 +258,9 @@ namespace Dune {
public: public:
explicit LinearInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_) 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) : IB(InterpolationMethod::linear, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{} {
update_pos(Domain(0.0));
}
private: private:
void update_pos(const Domain& pos) void update_pos(const Domain& pos)
...@@ -332,7 +340,9 @@ namespace Dune { ...@@ -332,7 +340,9 @@ namespace Dune {
explicit CubicInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_) 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) : IB(InterpolationMethod::cubic, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{} {
update_pos(Domain(0.0));
}
private: private:
...@@ -412,7 +422,9 @@ namespace Dune { ...@@ -412,7 +422,9 @@ namespace Dune {
public: public:
explicit CubicInterpolator(const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_) 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) : IB(InterpolationMethod::cubic, config_, helper_, verbose_), N_RF(IB::N_RF), extensions(IB::extensions), eps(IB::eps)
{} {
update_pos(Domain(0.0));
}
private: 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