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
No related branches found
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 ...@@ -52,7 +52,7 @@ int assembleAndCompare (const Basis basis, const ParameterTree parameters, const
////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////
// Compute the energy, assemble and compare! // Compute the energy, assemble and compare!
////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////
VectorType gradient; VectorType gradient;
MatrixType hessianMatrix; MatrixType hessianMatrix;
double energy = assembler.computeEnergy(x); double energy = assembler.computeEnergy(x);
...@@ -90,7 +90,7 @@ int assembleAndCompare (const Basis basis, const ParameterTree parameters, const ...@@ -90,7 +90,7 @@ int assembleAndCompare (const Basis basis, const ParameterTree parameters, const
int main (int argc, char *argv[]) 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 // Create the grid
...@@ -126,8 +126,6 @@ int main (int argc, char *argv[]) ...@@ -126,8 +126,6 @@ int main (int argc, char *argv[])
blockedInterleaved() blockedInterleaved()
)); ));
using PowerBasis = decltype(basis);
////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////
// Prepare the iterate x where we want to assemble // 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