Loading...
Searching...
No Matches
LebedevLaikov.h File Reference
#include <Eigen/Dense>
#include <algorithm>
#include <array>
#include <cmath>
#include <set>
#include <stdexcept>
#include <vector>
#include "IRAAlign.h"

Go to the source code of this file.

Classes

struct  aux::LebedevNode
struct  aux::OracleOrientation

Namespaces

namespace  aux

Functions

void aux::lebedevAddOrbit (std::vector< LebedevNode > &nodes, double x, double y, double z, double weight)
std::vector< LebedevNode > aux::lebedevLaikovGrid (int order)
 order is 6, 14, or 26. Any other value throws.
double aux::lebedevWeightSum (int order)
Eigen::Matrix3d aux::lebedevNodeRotation (const LebedevNode &node)
 Proper rotation taking e_z to the node. Identity for the north pole.
OracleOrientation aux::orientGeometryForOracle (const Eigen::VectorXd &positions, const Eigen::VectorXd &reference, const std::vector< int > &types, bool align, double kmax_factor)
void aux::pullForcesToCallerFrame (double *forces, long n_atoms, const Eigen::Matrix3d &rotation)
template<class Eval>
void aux::averageOverLebedev (long n_atoms, const double *positions, int order, Eval eval, double *energy, double *forces, double *energy_noise, double *force_noise)