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

LocalGeodesicFEFunction: Implement evaluateValueAndDerivative for product spaces

parent 8465b1f9
No related branches found
No related tags found
No related merge requests found
......@@ -721,6 +721,16 @@ public:
return result;
}
/** \brief Evaluate the value and the derivative of the interpolation function
*/
std::pair<TargetSpace,DerivativeType> evaluateValueAndDerivative(const Dune::FieldVector<ctype, dim>& local) const
{
std::pair<TargetSpace,DerivativeType> result;
result.first = evaluate(local);
result.second = evaluateDerivative(local,result.first);
return result;
}
/** \brief Evaluate the derivative of the function value with respect to a coefficient */
void evaluateDerivativeOfValueWRTCoefficient(const Dune::FieldVector<ctype, dim>& local,
int coefficient,
......
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