Commit 43cd0ea2 authored by Lukas Riedel's avatar Lukas Riedel

dropped offset to 1 nanometer. adjusted position update margin of interpolator

parent db6f7be6
......@@ -260,7 +260,7 @@ public:
// position of quadrature point in global coordinates
// add offset for parameter queries
const RF eps = 1e-7;
const RF eps = 1e-9;
auto global_s = ig.inside().geometry().global(local_s);
auto global_n = ig.outside().geometry().global(local_n);
global_s = global_s.axpy(-eps,normal);
......
......@@ -34,7 +34,7 @@ namespace Dune {
const InterpolationMethod method;
explicit InterpolatorBase(InterpolationMethod method_, const ParameterTree& config_, const Dune::MPIHelper& helper_, const int verbose_):
config(config_), helper(helper_), verbose(verbose_), eps(1e-8), initialized(false), method(method_)
config(config_), helper(helper_), verbose(verbose_), eps(1e-9), initialized(false), method(method_)
{}
RF evaluate(const Array& field, const Domain& pos)
......
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