diff --git a/dune-solvers/common/canignore.hh b/dune-solvers/common/canignore.hh new file mode 100644 index 0000000000000000000000000000000000000000..28b6220362c5e136b11c5e3973e80f707b1d987b --- /dev/null +++ b/dune-solvers/common/canignore.hh @@ -0,0 +1,24 @@ +#ifndef CAN_IGNORE_HH +#define CAN_IGNORE_HH + +template <class BitVectorType> +class CanIgnore +{ +public: + + /** \brief Default constructor */ + CanIgnore() + : ignoreNodes_(NULL) + {} + + /** \brief Virtual destructor. Does NOT delete the bitfield! */ + virtual ~CanIgnore() + {} + + /** \brief A flag for each degree of freedom stating whether the + dof should be ignored by the solver */ + const BitVectorType* ignoreNodes_; + +}; + +#endif