diff --git a/dune/fufem/dunedataio.hh b/dune/fufem/dunedataio.hh index a29957c2e1a0762d59ab8d400121f879ff92e7c5..8d086eb3799789cecd59e62d900772ddf472648f 100644 --- a/dune/fufem/dunedataio.hh +++ b/dune/fufem/dunedataio.hh @@ -16,7 +16,7 @@ namespace serialization { * mark the use of the operator & that works both ways, << or >> , depending on the type of Archive. */ template <class Archive, class T, int n> -void serialize(Archive& ar, Dune::FieldVector<T,n>& fvec, const unsigned int version) +void serialize(Archive& ar, Dune::FieldVector<T,n>& fvec, const unsigned int version DUNE_UNUSED) { for (int i=0; i<n; ++i) ar & fvec[i]; @@ -26,7 +26,7 @@ void serialize(Archive& ar, Dune::FieldVector<T,n>& fvec, const unsigned int ver * two separate save() and load() functions later to be "unified" via boost::serialization::split_free (see below) */ template <class Archive, class BlockType> -void save(Archive& ar, const Dune::BlockVector<BlockType>& vec, const unsigned int version) +void save(Archive& ar, const Dune::BlockVector<BlockType>& vec, const unsigned int version DUNE_UNUSED) { size_t size = vec.size(); ar << size; @@ -35,7 +35,7 @@ void save(Archive& ar, const Dune::BlockVector<BlockType>& vec, const unsigned i } template <class Archive, class BlockType> -void load(Archive& ar, Dune::BlockVector<BlockType>& vec, const unsigned int version) +void load(Archive& ar, Dune::BlockVector<BlockType>& vec, const unsigned int version DUNE_UNUSED) { size_t size; ar >> size; diff --git a/dune/fufem/estimators/errorfractionmarking.hh b/dune/fufem/estimators/errorfractionmarking.hh index bab90bcc1697b42f8e744e46993516c1e1a98058..1f0d7bae4c855361ccc1d725c359f4f9ff68f32f 100644 --- a/dune/fufem/estimators/errorfractionmarking.hh +++ b/dune/fufem/estimators/errorfractionmarking.hh @@ -36,7 +36,7 @@ class ErrorFractionMarkingStrategy template<int localDim> struct AllCodimLayout { - bool contains (Dune::GeometryType gt) const + bool contains (Dune::GeometryType gt DUNE_UNUSED) const { return true; } diff --git a/dune/fufem/functions/portablegreymap.hh b/dune/fufem/functions/portablegreymap.hh index b6517a13406936cc3c7dc2b4961b03be2d129971..0785b2794454ff4bc0e2bcdd0a00639701d3e97b 100644 --- a/dune/fufem/functions/portablegreymap.hh +++ b/dune/fufem/functions/portablegreymap.hh @@ -374,7 +374,7 @@ class PortableGreyMap: * \param x point (global coordinates) at which to evaluate the derivative * \param d will contain the derivative at x after return */ - virtual void evaluateDerivative(const DomainType& x, DerivativeType& d) const + virtual void evaluateDerivative(const DomainType& x DUNE_UNUSED, DerivativeType& d DUNE_UNUSED) const { DUNE_THROW(Dune::NotImplemented, "Derivative not implemented"); } @@ -385,7 +385,7 @@ class PortableGreyMap: * \param x point in local coordinates at which to evaluate the derivative * \param d will contain the derivative at x after return */ - virtual void evaluateDerivativeLocal(const Element& e, const LocalDomainType& x, DerivativeType& d) const + virtual void evaluateDerivativeLocal(const Element& e DUNE_UNUSED, const LocalDomainType& x DUNE_UNUSED, DerivativeType& d DUNE_UNUSED) const { DUNE_THROW(Dune::NotImplemented, "Derivative not implemented"); } diff --git a/dune/fufem/functionspacebases/q1nodalbasis.hh b/dune/fufem/functionspacebases/q1nodalbasis.hh index bd28259dfa04e6e71142a0243637e0f9ec1defe7..368877b5892d594d8a0bf28f7555daec09178ead 100644 --- a/dune/fufem/functionspacebases/q1nodalbasis.hh +++ b/dune/fufem/functionspacebases/q1nodalbasis.hh @@ -47,7 +47,7 @@ class Q1NodalBasis : return gridview_.indexSet().size(dim); } - const LocalFiniteElement& getLocalFiniteElement(const Element& e) const + const LocalFiniteElement& getLocalFiniteElement(const Element& e DUNE_UNUSED) const { return localFE_; } diff --git a/dune/fufem/functionspacebases/refinedp1nodalbasis.hh b/dune/fufem/functionspacebases/refinedp1nodalbasis.hh index 7c3080619ff0808d90681e862e8a0c718f8b3a9d..c907f6383b31c6bd0ca9966ac9802c80536f854d 100644 --- a/dune/fufem/functionspacebases/refinedp1nodalbasis.hh +++ b/dune/fufem/functionspacebases/refinedp1nodalbasis.hh @@ -55,7 +55,7 @@ class RefinedP1NodalBasis : mapper_.update(); } - const LocalFiniteElement& getLocalFiniteElement(const Element& e) const + const LocalFiniteElement& getLocalFiniteElement(const Element& e DUNE_UNUSED) const { return fe_; }