Skip to content
Snippets Groups Projects
Commit 36ab43ee authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

LocalADOLCStiffness takes a LocalEnergy now

... rather than a LocalFEStiffness.  Because it really only needs
the energy evaluation, and implements the rest itself.
parent bbf130f7
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ public: ...@@ -38,7 +38,7 @@ public:
//! Dimension of a tangent space //! Dimension of a tangent space
enum { blocksize = VectorType::value_type::dimension }; enum { blocksize = VectorType::value_type::dimension };
LocalADOLCStiffness(const LocalFEStiffness<GridView, LocalFiniteElement, AVectorType>* energy) LocalADOLCStiffness(const Dune::Elasticity::LocalEnergy<GridView, LocalFiniteElement, AVectorType>* energy)
: localEnergy_(energy) : localEnergy_(energy)
{} {}
...@@ -56,7 +56,7 @@ public: ...@@ -56,7 +56,7 @@ public:
const VectorType& localConfiguration, const VectorType& localConfiguration,
VectorType& localGradient); VectorType& localGradient);
const LocalFEStiffness<GridView, LocalFiniteElement, AVectorType>* localEnergy_; const Dune::Elasticity::LocalEnergy<GridView, LocalFiniteElement, AVectorType>* localEnergy_;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment