Skip to content
Snippets Groups Projects
Commit d54542a1 authored by Patrick Jaap's avatar Patrick Jaap
Browse files

Some cleanup and -Wall warnings resolved

parent f1cdcabb
Branches
No related tags found
1 merge request!69Fix in Mooney-Rivlin density: Use proper 4th term for Ciarlet
......@@ -52,7 +52,7 @@ int assembleAndCompare (const Basis basis, const ParameterTree parameters, const
//////////////////////////////////////////////////////////////
// Compute the energy, assemble and compare!
//////////////////////////////////////////////////////////////
VectorType gradient;
MatrixType hessianMatrix;
double energy = assembler.computeEnergy(x);
......@@ -90,7 +90,7 @@ int assembleAndCompare (const Basis basis, const ParameterTree parameters, const
int main (int argc, char *argv[])
{
Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv);
[[maybe_unused]] Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv);
// ///////////////////////////////////////
// Create the grid
......@@ -126,8 +126,6 @@ int main (int argc, char *argv[])
blockedInterleaved()
));
using PowerBasis = decltype(basis);
//////////////////////////////////////////////////////////////
// Prepare the iterate x where we want to assemble
//////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment