From f8d8399332dad09811fa9a49ee6e8b9e5b9a135b Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Wed, 3 Feb 2016 12:08:53 +0100 Subject: [PATCH] Make compile again --- test/adolcmaterialtest.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/adolcmaterialtest.cc b/test/adolcmaterialtest.cc index faa51f7..c870e02 100644 --- a/test/adolcmaterialtest.cc +++ b/test/adolcmaterialtest.cc @@ -29,6 +29,7 @@ #include <dune/elasticity/materials/adolcmaterial.hh> #include <dune/elasticity/materials/neohookeanmaterial.hh> +#include <dune/elasticity/materials/adolcneohookeanmaterial.hh> //#include <dune/elasticity/materials/mooneyrivlinmaterial.hh> #include <dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh> @@ -96,9 +97,9 @@ int main (int argc, char *argv[]) try MaterialType material(feBasis,E,nu); // check against the Adol-C material - typedef NeoHookeMaterial<FEBasis> AdolcMaterialType; - AdolcMaterialType adolcMaterial(feBasis,E,nu); - + LocalNeoHookeanEnergy<GridType,Lfe> localNeoHookeEnergy(E,nu); + typedef AdolcMaterial<FEBasis> AdolcMaterialType; + AdolcMaterialType adolcMaterial(feBasis,localNeoHookeEnergy); auto& linPaperAssembler = material.firstDerivative(xGridFunc); auto& linAdolcAssembler = adolcMaterial.firstDerivative(xGridFunc); -- GitLab