struct rgpot::EAMTable

Overview

Tabulated functions after the LAMMPS file2array step. More…

#include <EAMTablePot.hpp>
 
struct EAMTable {
    // fields
 
    int nrho = 0;
    double drho = 0.0;
    int nr = 0;
    double dr = 0.0;
    double cutoff = 0.0;
    double rhomax = 0.0;
    std::vector<int> z;
    std::vector<std::vector<double>> frho;
    std::vector<std::vector<double>> rhor;
    std::vector<std::vector<double>> z2r;
};

Detailed Documentation

Tabulated functions after the LAMMPS file2array step. Entry m of an array sits at m * dr or m * drho.

Fields

std::vector<int> z

Atomic number per element.

std::vector<std::vector<double>> frho

F_a, one per element.

std::vector<std::vector<double>> rhor

rho_ab at index b * n + a, the density element b puts at an a site.

std::vector<std::vector<double>> z2r

r phi_ab at index a (a + 1) / 2 + b for a >= b.