Skip to content
Snippets Groups Projects
Commit 24992ad6 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Adjust include guard to Dune standards and rename DiscFuncType to VectorType

parent e5198102
Branches
No related tags found
No related merge requests found
#ifndef MANDEL_OBSTACLE_RESTRICTOR_HH #ifndef DUNE_SOLVERS_TRANSFEROPERATORS_MANDEL_OBSTACLE_RESTRICTOR_HH
#define MANDEL_OBSTACLE_RESTRICTOR_HH #define DUNE_SOLVERS_TRANSFEROPERATORS_MANDEL_OBSTACLE_RESTRICTOR_HH
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
#include <dune/solvers/transferoperators/obstaclerestrictor.hh> #include <dune/solvers/transferoperators/obstaclerestrictor.hh>
#include <dune/solvers/transferoperators/multigridtransfer.hh> #include <dune/solvers/transferoperators/multigridtransfer.hh>
#include <dune/solvers/common/boxconstraint.hh> #include <dune/solvers/common/boxconstraint.hh>
template <class DiscFuncType> template <class VectorType>
class MandelObstacleRestrictor : public ObstacleRestrictor<DiscFuncType> class MandelObstacleRestrictor : public ObstacleRestrictor<VectorType>
{ {
typedef typename DiscFuncType::field_type field_type; typedef typename VectorType::field_type field_type;
enum {blocksize = DiscFuncType::block_type::dimension}; enum {blocksize = VectorType::block_type::dimension};
public: public:
...@@ -19,7 +19,7 @@ public: ...@@ -19,7 +19,7 @@ public:
std::vector<BoxConstraint<field_type,blocksize> >& t, std::vector<BoxConstraint<field_type,blocksize> >& t,
const Dune::BitSetVector<blocksize>& fHasObstacle, const Dune::BitSetVector<blocksize>& fHasObstacle,
const Dune::BitSetVector<blocksize>& tHasObstacle, const Dune::BitSetVector<blocksize>& tHasObstacle,
const MultigridTransfer<DiscFuncType>& transfer, const MultigridTransfer<VectorType>& transfer,
const Dune::BitSetVector<blocksize>& critical); const Dune::BitSetVector<blocksize>& critical);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment