From db2449fe8b82b881258f8852ba2735a3ebc64a0b Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Mon, 15 Jun 2009 15:34:07 +0000 Subject: [PATCH] new directory for miscellanea [[Imported from SVN: r2497]] --- dune-solvers/common/canignore.hh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dune-solvers/common/canignore.hh diff --git a/dune-solvers/common/canignore.hh b/dune-solvers/common/canignore.hh new file mode 100644 index 00000000..28b62203 --- /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 -- GitLab