File BSplineInterpolationTask.h¶
- Copyright
This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
-
namespace
Scine -
namespace
Readuct -
class
BSplineInterpolationTask: public Scine::Readuct::Task Public Functions
-
BSplineInterpolationTask(std::vector<std::string> input, std::vector<std::string> output)¶
-
std::string
name() const¶
Private Functions
-
ElementaryStepOptimization::ReactionProfile
interpolateElementaryStep(const Utils::AtomCollection &start, Utils::AtomCollection end, Utils::MolecularTrajectory trajectoryGuess = Utils::MolecularTrajectory()) const¶
-
void
writeTangentToFile(const Eigen::VectorXd &tangent, const boost::filesystem::path &generalOutputDir) const¶
-
Utils::MolecularTrajectory
convertProfileToTrajectory(ElementaryStepOptimization::ReactionProfile profile) const¶
-
Utils::MolecularTrajectory
discretizeSpline(const Utils::ElementTypeCollection &elements, const Utils::BSplines::BSpline &spline, int numberPoints) const¶
-
void
writeTrajectory(Utils::MolecularTrajectory trajectory, std::string filepath) const¶
-
Utils::MolecularTrajectory
readTrajectory(std::string filepath) const¶
-
double
pointDistance(const std::vector<double> &coordinates, int maxEnergyIndex) const¶
-
std::vector<double>
getNewCoordinates(const std::vector<double> &oldCoordinates, int maxEnergyIndex) const¶
-
int
getIndexForMaxEnergyAndCheckValidity(const std::vector<double> &energies) const¶
Private Members
-
bool
alignStructuresBeforeInterpolation_= true¶
-
int
numberControlPointsForInterpolation_= 5¶
-
int
numberStructuresForMolecularTrajectory_= 10¶
-
bool
optimize_= true¶
-
std::string
optimizer_= "lbfgs"¶
-
bool
extractTsGuess_= false¶
-
bool
extractTsGuessNeighbours_= false¶
-
bool
extractTangent_= false¶
-
std::string
tangentFileName_= ""¶
-
double
coordinateThresholdForMaximumExtraction_= 1e-3¶
-
-
class
-
namespace