Commit f8d83993 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Make compile again

parent 54e4271e
......@@ -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);
......
Markdown is supported
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