From 0ab3314e2227de021f8b81ba4a649f8e2ceb846b Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Fri, 11 Jul 2014 14:28:50 +0200 Subject: [PATCH] Add a restrict version that takes vector-valued hasObstacle bitfields --- dune/solvers/transferoperators/obstaclerestrictor.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dune/solvers/transferoperators/obstaclerestrictor.hh b/dune/solvers/transferoperators/obstaclerestrictor.hh index 975850e6..7887c337 100644 --- a/dune/solvers/transferoperators/obstaclerestrictor.hh +++ b/dune/solvers/transferoperators/obstaclerestrictor.hh @@ -26,6 +26,12 @@ public: const MultigridTransfer<DiscFuncType>& transfer, const Dune::BitSetVector<blocksize>& critical) = 0; + virtual void restrict(const std::vector<BoxConstraint<field_type,blocksize> >& f, + std::vector<BoxConstraint<field_type,blocksize> >& t, + const Dune::BitSetVector<blocksize>& fHasObstacle, + const Dune::BitSetVector<blocksize>& tHasObstacle, + const MultigridTransfer<DiscFuncType>& transfer, + const Dune::BitSetVector<blocksize>& critical) = 0; }; -- GitLab