.. index:: pair: namespace; rgpot_eam_al .. _doxid-namespacergpot__eam__al: namespace rgpot_eam_al ====================== .. toctree:: :hidden: Overview ~~~~~~~~ Embedded-atom aluminium with double-exponential pair, density, and an eighth-order polynomial embedding function, in gather form. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace rgpot_eam_al { // global functions pure real(wp) function :ref:`eam_al_cutoff`(class(:ref:`eam_al_params_t`), intent(in) self); subroutine, public :ref:`eam_al_energy_forces`(real(wp), dimension(:, :), intent(in), contiguous positions, real(wp), dimension(3, 3), intent(in) cell, type(:ref:`eam_al_params_t`), intent(in) par, type(:ref:`neighbor_table_t`), intent(inout) table, real(wp), intent(out) energy, real(wp), dimension(:, :), intent(out), contiguous forces, integer, intent(out) status, character(len=:), intent(out), allocatable errmsg); } // namespace rgpot_eam_al .. _details-namespacergpot__eam__al: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Embedded-atom aluminium with double-exponential pair, density, and an eighth-order polynomial embedding function, in gather form. The energy is a pair sum plus a per-atom embedding term, E = sum\_{i`), intent(in) self) Interaction cutoff, the radius the neighbour table is built at. .. index:: pair: function; eam_al_energy_forces .. _doxid-namespacergpot__eam__al_1a598d2104d00e3272104d7add88835f36: .. ref-code-block:: cpp :class: doxyrest-title-code-block subroutine, public eam_al_energy_forces(real(wp), dimension(:, :), intent(in), contiguous positions, real(wp), dimension(3, 3), intent(in) cell, type(:ref:`eam_al_params_t`), intent(in) par, type(:ref:`neighbor_table_t`), intent(inout) table, real(wp), intent(out) energy, real(wp), dimension(:, :), intent(out), contiguous forces, integer, intent(out) status, character(len=:), intent(out), allocatable errmsg) Energy and forces for ``positions`` (3 x natoms) in ``cell``.