Commit d16858f3 authored by Markus Blatt's avatar Markus Blatt
Browse files

Merge branch 'feature/shut-up-compiler-warnings' into 'master'

Get rid of unused variable compiler warnings.

See merge request !201
parents 60409df1 998a49ec
Pipeline #38067 passed with stage
in 14 minutes and 47 seconds
...@@ -400,7 +400,7 @@ namespace Dune { namespace Impl ...@@ -400,7 +400,7 @@ namespace Dune { namespace Impl
// Helper method: Return the derivative of a single Lagrangian factor of l_ij evaluated at x // Helper method: Return the derivative of a single Lagrangian factor of l_ij evaluated at x
// direction: Derive in x-direction if this is 0, otherwise derive in y direction // direction: Derive in x-direction if this is 0, otherwise derive in y direction
auto lagrangianFactorDerivative = [&lagrangeNode] auto lagrangianFactorDerivative = [&lagrangeNode]
(const int direction, const int no, const int i, const int j, const typename Traits::DomainType& x) (const int direction, const int no, const int i, const int j, const typename Traits::DomainType&)
-> typename Traits::RangeType -> typename Traits::RangeType
{ {
using T = typename Traits::RangeType; using T = typename Traits::RangeType;
......
...@@ -38,7 +38,7 @@ namespace Dune ...@@ -38,7 +38,7 @@ namespace Dune
} }
//! \brief Evaluate all shape functions //! \brief Evaluate all shape functions
inline void evaluateFunction (const typename Traits::DomainType& in, inline void evaluateFunction (const typename Traits::DomainType&,
std::vector<typename Traits::RangeType>& out) const std::vector<typename Traits::RangeType>& out) const
{ {
out.resize(1); out.resize(1);
...@@ -47,7 +47,7 @@ namespace Dune ...@@ -47,7 +47,7 @@ namespace Dune
//! \brief Evaluate Jacobian of all shape functions //! \brief Evaluate Jacobian of all shape functions
inline void inline void
evaluateJacobian (const typename Traits::DomainType& in, // position evaluateJacobian (const typename Traits::DomainType&, // position
std::vector<typename Traits::JacobianType>& out) const // return value std::vector<typename Traits::JacobianType>& out) const // return value
{ {
out.resize(1); out.resize(1);
......
...@@ -32,7 +32,7 @@ namespace Dune ...@@ -32,7 +32,7 @@ namespace Dune
} }
//! get i'th index //! get i'th index
const LocalKey& localKey (std::size_t i) const const LocalKey& localKey ([[maybe_unused]] std::size_t i) const
{ {
return index; return index;
} }
......
...@@ -32,7 +32,7 @@ namespace Dune ...@@ -32,7 +32,7 @@ namespace Dune
typedef typename P0LocalFiniteElement<D,R,d>::Traits::LocalBasisType::Traits T; typedef typename P0LocalFiniteElement<D,R,d>::Traits::LocalBasisType::Traits T;
//! create finite element for given GeometryType //! create finite element for given GeometryType
static LocalFiniteElementVirtualInterface<T>* create(const GeometryType& gt) static LocalFiniteElementVirtualInterface<T>* create(const GeometryType&)
{ {
return nullptr; return nullptr;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment