Skip to content
Snippets Groups Projects
Commit f8d83993 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Make compile again

parent 54e4271e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment