Skip to content
Snippets Groups Projects
Commit 8b5616b7 authored by akbib's avatar akbib Committed by akbib
Browse files

Add dummy implementation of a pure virtual method from the base class.

[[Imported from SVN: r12622]]
parent 5a2ed7b8
Branches
Tags
No related merge requests found
......@@ -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);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment