From 8b5616b76624ac768224d102ac3b1c590919d77c Mon Sep 17 00:00:00 2001
From: Jonathan Youett <youett@mi.fu-berlin.de>
Date: Fri, 10 Jan 2014 16:52:47 +0000
Subject: [PATCH] Add dummy implementation of a pure virtual method from the
 base class.

[[Imported from SVN: r12622]]
---
 dune/elasticity/assemblers/ogdenassembler.hh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dune/elasticity/assemblers/ogdenassembler.hh b/dune/elasticity/assemblers/ogdenassembler.hh
index 631c556..4691967 100644
--- a/dune/elasticity/assemblers/ogdenassembler.hh
+++ b/dune/elasticity/assemblers/ogdenassembler.hh
@@ -101,8 +101,16 @@ template <class GridType, class TrialLocalFE, class AnsatzLocalFE>
     		  		const Dune::BlockVector<Dune::FieldVector<double,dim> >& localSolution,
     		  		LocalMatrix& localMatrix, Dune::BlockVector<Dune::FieldVector<double,dim> >& localRhs, 
     		  		const TrialLocalFE& tFE, const AnsatzLocalFE& aFE) const;
-             
+      // This method is never actually called, it's just here to implement all pure virtual functions
+      void assemble(const Element& element, LocalMatrix& localMatrix,
+                const TrialLocalFE& tFE, const AnsatzLocalFE& aFE) const
+      {
+          // dummy
+          Dune::BlockVector<Dune::FieldVector<double,dim> > localSol(tFE.localBasis().size());
+          localSol = 0;
 
+          assemble(element,localSol,localMatrix,tFE, aFE);
+      }
   };
 
 
-- 
GitLab