.. index:: pair: struct; rgpot::EAMTable .. _doxid-structrgpot_1_1_e_a_m_table: struct rgpot::EAMTable ====================== .. toctree:: :hidden: Overview ~~~~~~~~ Tabulated functions after the LAMMPS file2array step. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct EAMTable { // fields int :target:`nrho` = 0; double :target:`drho` = 0.0; int :target:`nr` = 0; double :target:`dr` = 0.0; double :target:`cutoff` = 0.0; double :target:`rhomax` = 0.0; std::vector :ref:`z`; std::vector> :ref:`frho`; std::vector> :ref:`rhor`; std::vector> :ref:`z2r`; }; .. _details-structrgpot_1_1_e_a_m_table: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Tabulated functions after the LAMMPS file2array step. Entry m of an array sits at m \* dr or m \* drho. Fields ------ .. index:: pair: variable; z .. _doxid-structrgpot_1_1_e_a_m_table_1ab6a05e4eeaa52813e7483a4c48ba6119: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector z Atomic number per element. .. index:: pair: variable; frho .. _doxid-structrgpot_1_1_e_a_m_table_1a0ef28d92381915ce2e6694de16dd2535: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector> frho F_a, one per element. .. index:: pair: variable; rhor .. _doxid-structrgpot_1_1_e_a_m_table_1a593e0b9d72dfd0f770e2a4618af10136: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector> rhor rho_ab at index b \* n + a, the density element b puts at an a site. .. index:: pair: variable; z2r .. _doxid-structrgpot_1_1_e_a_m_table_1a0f5ac6c1afb6945e6db2616b87eade2e: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector> z2r r phi_ab at index a (a + 1) / 2 + b for a >= b.