Commit 3db779a1 authored by akbib's avatar akbib Committed by akbib
Browse files

Adjust to new base class interface

[[Imported from SVN: r12669]]
parent 4ffaec05
......@@ -67,7 +67,7 @@ public:
//! Evaluate the strain energy
ReturnType energy(const GridFunction& displace)
ReturnType energy(const GridFunction* displace)
ReturnType energy=0;
const GridType& grid = this->basis_->getGridView().grid();
......@@ -114,16 +114,16 @@ public:
return 0.5*energy;
//! Return the local assembler of the first derivative of the strain energy
LocalLinearization& firstDerivative(const GridFunction& displace)
LocalLinearization& firstDerivative(GridFunction* displace)
return *localLinearization_;
//! Return the local assembler of the second derivative of the strain energy
LocalHessian& secondDerivative(const GridFunction& displace)
LocalHessian& secondDerivative(GridFunction* displace)
return *localHessian_;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment