Skip to content
Snippets Groups Projects
Commit e4580cc7 authored by Patrick Jaap's avatar Patrick Jaap
Browse files

localadolcstiffness.hh: Remove RT, it is ayways "double"

parent 47730e7b
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,6 @@ class LocalADOLCStiffness ...@@ -24,7 +24,6 @@ class LocalADOLCStiffness
{ {
// grid types // grid types
typedef typename GridView::Grid::ctype DT; typedef typename GridView::Grid::ctype DT;
typedef typename VectorType::value_type::field_type RT;
typedef typename GridView::template Codim<0>::Entity Entity; typedef typename GridView::template Codim<0>::Entity Entity;
// some other sizes // some other sizes
...@@ -43,7 +42,7 @@ public: ...@@ -43,7 +42,7 @@ public:
{} {}
/** \brief Compute the energy at the current configuration */ /** \brief Compute the energy at the current configuration */
virtual RT energy (const Entity& e, virtual double energy (const Entity& e,
const LocalFiniteElement& localFiniteElement, const LocalFiniteElement& localFiniteElement,
const VectorType& localConfiguration) const; const VectorType& localConfiguration) const;
...@@ -62,8 +61,7 @@ public: ...@@ -62,8 +61,7 @@ public:
template <class GridView, class LocalFiniteElement, class VectorType> template <class GridView, class LocalFiniteElement, class VectorType>
typename LocalADOLCStiffness<GridView, LocalFiniteElement, VectorType>::RT double LocalADOLCStiffness<GridView, LocalFiniteElement, VectorType>::
LocalADOLCStiffness<GridView, LocalFiniteElement, VectorType>::
energy(const Entity& element, energy(const Entity& element,
const LocalFiniteElement& localFiniteElement, const LocalFiniteElement& localFiniteElement,
const VectorType& localSolution) const const VectorType& localSolution) const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment