|
occ
|
interactions energies including CrystalExplorer model energies More...
Namespaces | |
| namespace | polarization_partitioning |
| namespace | transform |
Classes | |
| struct | CEEnergyComponents |
| class | CEEnergyModel |
| struct | CEModelInteraction |
| struct | CEMonomerCalculationParameters |
| struct | CEParameterizedModel |
| struct | ElatResults |
| class | EnergyModelBase |
| class | ExternalEnergyModel |
| struct | ExternalEnergyOptions |
| class | FileSystemPairEnergyStore |
| struct | LatticeConvergenceSettings |
| class | LatticeEnergyCalculator |
| struct | LatticeEnergyResult |
| class | MemoryPairEnergyStore |
| struct | PairEnergy |
| class | PairEnergyStore |
| class | PairEnergyStoreBase |
| struct | WolfCouplingResult |
| struct | WolfCouplingTerm |
| struct | WolfParameters |
| class | WolfSum |
| class | XTBEnergyModel |
Functions | |
| double | coulomb_energy (Eigen::Ref< const Vec > charges, Eigen::Ref< const Mat3N > positions) |
| double | coulomb_pair_energy (Eigen::Ref< const Vec > charges_a, Eigen::Ref< const Mat3N > positions_a, Eigen::Ref< const Vec > charges_b, Eigen::Ref< const Mat3N > positions_b) |
| Vec3 | coulomb_efield (Eigen::Ref< const Vec > charges, Eigen::Ref< const Mat3N > positions, Eigen::Ref< const Vec3 > point) |
| std::pair< Mat3N, Mat3N > | coulomb_pair_efield (Eigen::Ref< const Vec > charges_a, Eigen::Ref< const Mat3N > positions_a, Eigen::Ref< const Vec > charges_b, Eigen::Ref< const Mat3N > positions_b) |
| double | coulomb_interaction_energy_asym_charges (const occ::core::Dimer &, Eigen::Ref< const Vec > charges_asym) |
| std::pair< Mat3N, Mat3N > | coulomb_efield_asym_charges (const occ::core::Dimer &, Eigen::Ref< const Vec > charges_asym) |
| double | coulomb_self_energy_asym_charges (const occ::core::Molecule &, Eigen::Ref< const Vec > charges) |
| void | to_json (nlohmann::json &j, const CEEnergyComponents &) |
| void | from_json (const nlohmann::json &j, CEEnergyComponents &) |
| void | to_json (nlohmann::json &j, const polarization_partitioning::CouplingTerm &) |
| void | from_json (const nlohmann::json &j, polarization_partitioning::CouplingTerm &) |
| void | to_json (nlohmann::json &j, const polarization_partitioning::MoleculeCouplingResults &) |
| void | from_json (const nlohmann::json &j, polarization_partitioning::MoleculeCouplingResults &) |
| void | write_elat_json (const std::string &filename, const ElatResults &results) |
| Write elat JSON results in compact format. | |
| ElatResults | read_elat_json (const std::string &filename) |
| Read elat JSON results and reconstruct data structures. | |
| Wavefunction | load_wavefunction (const std::string &filename) |
| template<int derivative_order = 0> | |
| Mat | lennard_jones (Eigen::Ref< const Mat3N > positions, Eigen::Ref< const Mat > params) |
| template<> | |
| Mat | lennard_jones< 0 > (Eigen::Ref< const Mat3N > positions, Eigen::Ref< const Mat > params) |
| template<> | |
| Mat | lennard_jones< 1 > (Eigen::Ref< const Mat3N > positions, Eigen::Ref< const Mat > params) |
| double | dreiding_type_hb_correction (double eps, double sigma, const occ::core::Dimer &dimer) |
| void | compute_ce_model_energies (Wavefunction &wfn, HartreeFock &hf, const CEMonomerCalculationParameters ¶ms={}) |
| template<typename Procedure > | |
| double | compute_polarization_energy (const Wavefunction &wfn_a, const Procedure &proc_a, const Wavefunction &wfn_b, const Procedure &proc_b) |
| CEParameterizedModel | ce_model_from_string (const std::string &s) |
| double | ce_model_polarization_energy (const occ::IVec &atomic_numbers, const occ::Mat3N &efield, bool charged=false) |
| double | polarization_energy (const occ::Vec &polarizabilities, const occ::Mat3N &efield) |
| double | wolf_coulomb_energy (double qi, const Vec3 &pi, Eigen::Ref< const Vec > qj, Eigen::Ref< const Mat3N > pj, const WolfParameters ¶ms) |
| double | wolf_pair_energy (Eigen::Ref< const Vec > charges_a, Eigen::Ref< const Mat3N > positions_a, Eigen::Ref< const Vec > charges_b, Eigen::Ref< const Mat3N > positions_b, const WolfParameters ¶ms) |
| Mat3N | wolf_electric_field (Eigen::Ref< const Vec > charges, Eigen::Ref< const Mat3N > source_positions, Eigen::Ref< const Mat3N > target_positions, const WolfParameters ¶ms) |
| WolfCouplingResult | compute_wolf_coupling_terms (const std::vector< Mat3N > &electric_fields_per_neighbor, Eigen::Ref< const Vec > polarizabilities) |
Variables | |
| CEParameterizedModel | CE_HF_321G |
| CEParameterizedModel | CE_B3LYP_631Gdp |
| CEParameterizedModel | CE_XDM_FIT |
| constexpr double | CE1p_XDM_KREP {0.77850434} |
| CEParameterizedModel | CE1_XDM_B3LYP |
| CEParameterizedModel | CE2_XDM_WB97MV |
| CEParameterizedModel | CE5_XDM_WB97MV |
| CEParameterizedModel | CE1_XDM = CE1_XDM_B3LYP |
| CEParameterizedModel | CE2_XDM = CE2_XDM_WB97MV |
| CEParameterizedModel | CE5_XDM = CE5_XDM_WB97MV |
| const std::array< double, 110 > | Thakkar_atomic_polarizability |
| const std::array< double, 110 > | Charged_atomic_polarizibility |
interactions energies including CrystalExplorer model energies
|
inline |
| double occ::interaction::ce_model_polarization_energy | ( | const occ::IVec & | atomic_numbers, |
| const occ::Mat3N & | efield, | ||
| bool | charged = false |
||
| ) |
| void occ::interaction::compute_ce_model_energies | ( | Wavefunction & | wfn, |
| HartreeFock & | hf, | ||
| const CEMonomerCalculationParameters & | params = {} |
||
| ) |
| double occ::interaction::compute_polarization_energy | ( | const Wavefunction & | wfn_a, |
| const Procedure & | proc_a, | ||
| const Wavefunction & | wfn_b, | ||
| const Procedure & | proc_b | ||
| ) |
| WolfCouplingResult occ::interaction::compute_wolf_coupling_terms | ( | const std::vector< Mat3N > & | electric_fields_per_neighbor, |
| Eigen::Ref< const Vec > | polarizabilities | ||
| ) |
| Vec3 occ::interaction::coulomb_efield | ( | Eigen::Ref< const Vec > | charges, |
| Eigen::Ref< const Mat3N > | positions, | ||
| Eigen::Ref< const Vec3 > | point | ||
| ) |
| std::pair< Mat3N, Mat3N > occ::interaction::coulomb_efield_asym_charges | ( | const occ::core::Dimer & | , |
| Eigen::Ref< const Vec > | charges_asym | ||
| ) |
| double occ::interaction::coulomb_energy | ( | Eigen::Ref< const Vec > | charges, |
| Eigen::Ref< const Mat3N > | positions | ||
| ) |
| double occ::interaction::coulomb_interaction_energy_asym_charges | ( | const occ::core::Dimer & | , |
| Eigen::Ref< const Vec > | charges_asym | ||
| ) |
| std::pair< Mat3N, Mat3N > occ::interaction::coulomb_pair_efield | ( | Eigen::Ref< const Vec > | charges_a, |
| Eigen::Ref< const Mat3N > | positions_a, | ||
| Eigen::Ref< const Vec > | charges_b, | ||
| Eigen::Ref< const Mat3N > | positions_b | ||
| ) |
| double occ::interaction::coulomb_pair_energy | ( | Eigen::Ref< const Vec > | charges_a, |
| Eigen::Ref< const Mat3N > | positions_a, | ||
| Eigen::Ref< const Vec > | charges_b, | ||
| Eigen::Ref< const Mat3N > | positions_b | ||
| ) |
| double occ::interaction::coulomb_self_energy_asym_charges | ( | const occ::core::Molecule & | , |
| Eigen::Ref< const Vec > | charges | ||
| ) |
| double occ::interaction::dreiding_type_hb_correction | ( | double | eps, |
| double | sigma, | ||
| const occ::core::Dimer & | dimer | ||
| ) |
| void occ::interaction::from_json | ( | const nlohmann::json & | j, |
| CEEnergyComponents & | |||
| ) |
| void occ::interaction::from_json | ( | const nlohmann::json & | j, |
| polarization_partitioning::CouplingTerm & | |||
| ) |
| void occ::interaction::from_json | ( | const nlohmann::json & | j, |
| polarization_partitioning::MoleculeCouplingResults & | |||
| ) |
| Mat occ::interaction::lennard_jones | ( | Eigen::Ref< const Mat3N > | positions, |
| Eigen::Ref< const Mat > | params | ||
| ) |
| Mat occ::interaction::lennard_jones< 0 > | ( | Eigen::Ref< const Mat3N > | positions, |
| Eigen::Ref< const Mat > | params | ||
| ) |
| Mat occ::interaction::lennard_jones< 1 > | ( | Eigen::Ref< const Mat3N > | positions, |
| Eigen::Ref< const Mat > | params | ||
| ) |
| Wavefunction occ::interaction::load_wavefunction | ( | const std::string & | filename | ) |
| double occ::interaction::polarization_energy | ( | const occ::Vec & | polarizabilities, |
| const occ::Mat3N & | efield | ||
| ) |
| ElatResults occ::interaction::read_elat_json | ( | const std::string & | filename | ) |
Read elat JSON results and reconstruct data structures.
Loads crystal and reconstructs LatticeEnergyResult with energies mapped from the compact JSON format produced by write_elat_json()
| filename | Path to elat JSON results file |
| void occ::interaction::to_json | ( | nlohmann::json & | j, |
| const CEEnergyComponents & | |||
| ) |
| void occ::interaction::to_json | ( | nlohmann::json & | j, |
| const polarization_partitioning::CouplingTerm & | |||
| ) |
| void occ::interaction::to_json | ( | nlohmann::json & | j, |
| const polarization_partitioning::MoleculeCouplingResults & | |||
| ) |
| double occ::interaction::wolf_coulomb_energy | ( | double | qi, |
| const Vec3 & | pi, | ||
| Eigen::Ref< const Vec > | qj, | ||
| Eigen::Ref< const Mat3N > | pj, | ||
| const WolfParameters & | params | ||
| ) |
| Mat3N occ::interaction::wolf_electric_field | ( | Eigen::Ref< const Vec > | charges, |
| Eigen::Ref< const Mat3N > | source_positions, | ||
| Eigen::Ref< const Mat3N > | target_positions, | ||
| const WolfParameters & | params | ||
| ) |
| double occ::interaction::wolf_pair_energy | ( | Eigen::Ref< const Vec > | charges_a, |
| Eigen::Ref< const Mat3N > | positions_a, | ||
| Eigen::Ref< const Vec > | charges_b, | ||
| Eigen::Ref< const Mat3N > | positions_b, | ||
| const WolfParameters & | params | ||
| ) |
| void occ::interaction::write_elat_json | ( | const std::string & | filename, |
| const ElatResults & | results | ||
| ) |
Write elat JSON results in compact format.
Writes crystal, dimers, and energy data to JSON file
| filename | Output filename |
| results | ElatResults to write |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
extern |
|
extern |