10namespace fs = std::filesystem;
11std::vector<Matter>
linearPath(
const Matter &initImg,
const Matter &finalImg,
14std::vector<Matter>
filePathInit(
const std::vector<fs::path> &fsrcs,
15 const Matter &refImg,
const size_t nimgs);
29std::vector<Matter>
resamplePath(
const std::vector<Matter> &densePath,
50std::vector<std::filesystem::path>
55std::vector<Matter>
idppPath(
const Matter &initImg,
const Matter &finalImg,
56 size_t nimgs,
const Parameters ¶ms,
57 bool use_zbl =
false);
60 const Matter &finalImg,
size_t nimgs,
61 const Parameters ¶ms,
62 bool use_zbl =
false);
64std::vector<Matter>
sidppPath(
const Matter &initImg,
const Matter &finalImg,
65 size_t target_nimgs,
const Parameters ¶ms,
66 bool use_zbl =
false);
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, eOnStorageOrder > MatrixXd
Eigen::Matrix< double, Eigen::Dynamic, 3, eOnStorageOrder > AtomMatrix
AtomMatrix cubicInterpolate(const AtomMatrix &P0, const AtomMatrix &T0, const AtomMatrix &P1, const AtomMatrix &T1, double f)
Interpolates positions using a cubic Hermite spline.
std::vector< Matter > resamplePath(const std::vector< Matter > &densePath, size_t targetCount)
std::vector< Matter > sidppPath(const Matter &initImg, const Matter &finalImg, size_t target_nimgs, const Parameters ¶ms, bool use_zbl)
void resamplePathInPlace(std::span< std::shared_ptr< Matter > > path)
In-place path reparameterization for NEB shared_ptr paths.
Matter interpolateImage(const Matter &A, const Matter &B, double fraction)
std::shared_ptr< Potential > createZBLPotential()
std::vector< Matter > linearPath(const Matter &initImg, const Matter &finalImg, const size_t nimgs)
MatrixXd getDistanceMatrix(const Matter &m)
std::vector< Matter > filePathInit(const std::vector< fs::path > &fsrcs, const Matter &refImg, const size_t nimgs)
std::vector< Matter > idppPath(const Matter &initImg, const Matter &finalImg, const size_t nimgs, const Parameters ¶ms, bool use_zbl)
std::vector< Matter > idppCollectivePath(const Matter &initImg, const Matter &finalImg, size_t nimgs, const Parameters ¶ms, bool use_zbl)
std::vector< fs::path > readFilePaths(const std::string &listFilePath)
Reads a file where each line contains a path to another file.
RAII resource manager for the ARTn C library with global synchronization.