Loading...
Searching...
No Matches
QuantumFreeEnergy.h
Go to the documentation of this file.
1#pragma once
2
3#include "Eigen.h"
4#include "Matter.h"
5#include "Parameters.h"
6
7#include <memory>
8#include <vector>
9
10namespace eonc {
11
14double harmonicModeFreeEnergy(double hbarOmegaEv, double temperature);
15
20Eigen::VectorXd complementEigenvalues(const Eigen::MatrixXd &hessian,
21 const Eigen::MatrixXd &removed);
22
25double complementHarmonicFreeEnergy(const Eigen::MatrixXd &hessian,
26 const Eigen::MatrixXd &removed,
27 double temperature);
28
32Eigen::VectorXd perpendicularEigenvalues(const Eigen::MatrixXd &hessian,
33 const Eigen::VectorXd &tangent);
34
36double perpendicularHarmonicFreeEnergy(const Eigen::MatrixXd &hessian,
37 const Eigen::VectorXd &tangent,
38 double temperature);
39
47std::vector<double>
48quantumFreeEnergies(const std::vector<std::shared_ptr<Matter>> &path,
49 const std::vector<std::shared_ptr<AtomMatrix>> &tangent,
50 double temperature, const Parameters &params);
51
52} // namespace eonc
RAII resource manager for the ARTn C library with global synchronization.
double complementHarmonicFreeEnergy(const Eigen::MatrixXd &hessian, const Eigen::MatrixXd &removed, double temperature)
Sum of harmonicModeFreeEnergy over the positive eigenvalues on the complement of removed.
double perpendicularHarmonicFreeEnergy(const Eigen::MatrixXd &hessian, const Eigen::VectorXd &tangent, double temperature)
Sum of harmonicModeFreeEnergy over the positive perpendicular eigenvalues.
Eigen::VectorXd perpendicularEigenvalues(const Eigen::MatrixXd &hessian, const Eigen::VectorXd &tangent)
Eigenvalues of the mass-weighted Hessian after the tangent direction is removed: one fewer than the H...
std::vector< double > quantumFreeEnergies(const std::vector< std::shared_ptr< Matter > > &path, const std::vector< std::shared_ptr< AtomMatrix > > &tangent, double temperature, const Parameters &params)
F(s) = V(s) + the harmonic free energy of the vibrations, one entry per image.
double harmonicModeFreeEnergy(double hbarOmegaEv, double temperature)
kT ln(2 sinh(beta hbar omega / 2)) in eV.
Eigen::VectorXd complementEigenvalues(const Eigen::MatrixXd &hessian, const Eigen::MatrixXd &removed)
Eigenvalues of the mass-weighted Hessian on the orthogonal complement of the columns of removed,...