23#include <readcon-core.hpp>
43 const std::vector<std::shared_ptr<AtomMatrix>> &tangent,
50 const std::vector<std::shared_ptr<AtomMatrix>> &tangent,
51 long numImages,
double posFraction);
55 const std::vector<std::shared_ptr<Matter>> &path,
56 const std::vector<std::shared_ptr<AtomMatrix>> &tangent,
57 const std::vector<std::shared_ptr<EigenmodeStrategy>> &eigenmode_solvers,
58 long numImages,
bool estimateEigenvalues,
bool writeToFile,
size_t idx,
60 double referenceEnergy = std::numeric_limits<double>::quiet_NaN());
70 const std::vector<std::shared_ptr<Matter>> &path,
71 const std::vector<std::shared_ptr<AtomMatrix>> &tangent,
72 const std::vector<std::shared_ptr<EigenmodeStrategy>> &eigenmode_solvers,
73 long numImages,
bool estimateEigenvalues,
74 std::optional<size_t> bandIndex = std::nullopt,
75 double referenceEnergy = std::numeric_limits<double>::quiet_NaN(),
76 const std::vector<double> *quantumFreeEnergy =
nullptr,
81 const std::vector<std::shared_ptr<Matter>> &path,
82 const std::vector<std::shared_ptr<AtomMatrix>> &tangent,
83 const std::vector<std::shared_ptr<EigenmodeStrategy>> &eigenmode_solvers,
84 long numImages,
bool estimateEigenvalues, std::string filename,
85 std::optional<size_t> bandIndex = std::nullopt,
86 double referenceEnergy = std::numeric_limits<double>::quiet_NaN(),
87 const std::vector<double> *quantumFreeEnergy =
nullptr,
Eigen::Matrix< double, Eigen::Dynamic, 3, eOnStorageOrder > AtomMatrix
IoStatus
Structured I/O result for the client surface (nanobind-friendly).
std::vector< readcon::ConFrame > pathToConFrames(const std::vector< std::shared_ptr< Matter > > &path, const std::vector< std::shared_ptr< AtomMatrix > > &tangent, const std::vector< std::shared_ptr< EigenmodeStrategy > > &eigenmode_solvers, long numImages, bool estimateEigenvalues, std::optional< size_t > bandIndex, double referenceEnergy, const std::vector< double > *quantumFreeEnergy, const eonc::tunneling::BandWalls *walls)
Build stamped ConFrames for a NEB band (same metadata as writePathCon).
AtomMatrix interpolatedPeakMode(const std::vector< std::shared_ptr< Matter > > &path, const std::vector< std::shared_ptr< AtomMatrix > > &tangent, long numImages, double posFraction)
Unit tangent at a fractional image index.
eonc::io::IoStatus writePathCon(const std::vector< std::shared_ptr< Matter > > &path, const std::vector< std::shared_ptr< AtomMatrix > > &tangent, const std::vector< std::shared_ptr< EigenmodeStrategy > > &eigenmode_solvers, long numImages, bool estimateEigenvalues, std::string filename, std::optional< size_t > bandIndex, double referenceEnergy, const std::vector< double > *quantumFreeEnergy, const eonc::tunneling::BandWalls *walls)
Write a NEB band as a multi-frame .con via readcon ConFrameBuilder::clone().
void printImageData(const std::vector< std::shared_ptr< Matter > > &path, const std::vector< std::shared_ptr< AtomMatrix > > &tangent, const std::vector< std::shared_ptr< EigenmodeStrategy > > &eigenmode_solvers, long numImages, bool estimateEigenvalues, bool writeToFile, size_t idx, eonc::log::Scoped log, double referenceEnergy)
Print NEB image data to log and optionally to file.
ExtremaResult findSplineExtrema(const std::vector< std::shared_ptr< Matter > > &path, const std::vector< std::shared_ptr< AtomMatrix > > &tangent, long numImages)
Find extrema along the MEP using cubic spline interpolation.
RAII helper for class-scoped logging.
std::vector< double > energies
std::vector< double > curvatures
std::vector< double > positions