Scine::Readuct  6.0.0
This is the SCINE module ReaDuct.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Energy.h
Go to the documentation of this file.
1 
8 #ifndef READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_ENERGY_H
9 #define READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_ENERGY_H
10 
12 
13 // TODO: Improve documentation
14 
15 namespace Scine {
16 namespace Readuct {
17 
18 namespace ElementaryStepOptimization {
19 
20 namespace CostBasedOptimization {
21 
25 class SCINE_DLLEXPORT Energy : public IntegratingCostCalculator {
26  Utils::AutomaticDifferentiation::FirstND calculateCostContribution(const Utils::BSplines::BSpline& spline, double u,
27  double energy,
28  const Utils::GradientCollection& gradients) const override;
29  std::unique_ptr<ReactionPathCostCalculator> cloneImpl() const override;
30  bool energiesRequiredImpl() const override;
31 };
32 
33 } // namespace CostBasedOptimization
34 
35 } // namespace ElementaryStepOptimization
36 
37 } // namespace Readuct
38 } // namespace Scine
39 #endif // READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_ENERGY_H