Skip to content
Snippets Groups Projects
Commit a92625ec authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Have LocalGeodesicFEFDStiffness use a LocalEnergy

... rather than a LocalGeodesicFEStiffness.  That is a much
cleaner design -- A 'stiffness' produces first and second
derivatives for an 'energy'.
parent 7ed4a11f
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ public:
//! Dimension of the embedding space
enum { embeddedBlocksize = TargetSpace::EmbeddedTangentVector::dimension };
LocalGeodesicFEFDStiffness(const LocalGeodesicFEStiffness<Basis, ATargetSpace>* energy)
LocalGeodesicFEFDStiffness(const Dune::GFE::LocalEnergy<Basis, ATargetSpace>* energy)
: localEnergy_(energy)
{}
......@@ -66,7 +66,7 @@ public:
std::vector<typename TargetSpace::TangentVector>& localGradient) override;
const LocalGeodesicFEStiffness<Basis, ATargetSpace>* localEnergy_;
const Dune::GFE::LocalEnergy<Basis, ATargetSpace>* localEnergy_;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment