8 #ifndef READUCT_ELEMENTARYSTEPOPTIMIZATION_RECURRINGPROFILECALCULATOR_H
9 #define READUCT_ELEMENTARYSTEPOPTIMIZATION_RECURRINGPROFILECALCULATOR_H
25 namespace ElementaryStepOptimization {
26 class ProfileEnergies;
37 int pointCount()
const;
38 const double& deltaU()
const;
39 const std::vector<double>& getCoordinates()
const;
40 const std::vector<double>& getEnergies()
const;
50 std::vector<Utils::GradientCollection>& gradients);
53 std::vector<Utils::GradientCollection>& gradients,
54 std::vector<Eigen::MatrixXd>& hessians);
60 void injectDensity(
int index);
61 void saveDensity(
int index);
68 std::vector<std::shared_ptr<Core::State>> densities_;
71 inline int RecurringProfileCalculator::pointCount()
const {
72 return pointSequence().count();
75 inline const PointSequence& RecurringProfileCalculator::pointSequence()
const {
76 return valuesAlongSpline_.uValues;
79 inline const EnergiesAndGradientsAlongSpline& RecurringProfileCalculator::valuesAlongSpline()
const {
80 return valuesAlongSpline_;
87 #endif // ELEMENTARYSTEPOPTIMIZATION_RECURRINGPROFILECALCULATOR_H
Definition: PointSequence.h:25
Definition: RecurringProfileCalculator.h:33
Definition: BSplineProfileCalculator.h:37
Definition: ProfileEnergies.h:26
Definition: EnergiesAndGradientsAlongSpline.h:25