8 #ifndef READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_COMMONTERMS_H
9 #define READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_COMMONTERMS_H
19 namespace AutomaticDifferentiation {
32 namespace ElementaryStepOptimization {
33 class RecurringProfileCalculator;
35 namespace CostBasedOptimization {
46 double energy,
const Eigen::VectorXd& gradients);
48 double u,
const Eigen::VectorXd& gradients,
49 const Eigen::MatrixXd& hessian);
52 const Eigen::VectorXd& gradients,
const Eigen::MatrixXd& hessian);
57 double u,
const Eigen::VectorXd& pos);
60 double uA,
double uB);
73 static double interpolateExtremumUValue(
double u0,
double u1,
double u2,
double e0,
double e1,
double e2);
74 static int getIndexForHighestEnergy(
const std::vector<double>& energies);
75 static double getUValueWithMaxEnergy(
const std::vector<double>& coordinates,
const std::vector<double>& energies,
int maxIndex);
84 #endif // ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATION_COMMONTERMS_H
Definition: RecurringProfileCalculator.h:33
Definition: CommonTerms.h:41
static Utils::AutomaticDifferentiation::FirstND derivativeOfSquaredTangentNorm(const Utils::BSplines::BSpline &spline, double u)
Definition: CommonTerms.cpp:125