.. index:: pair: struct; rgpot::PerAtomOut .. _doxid-structrgpot_1_1_per_atom_out: struct rgpot::PerAtomOut ======================== .. toctree:: :hidden: Overview ~~~~~~~~ Per-atom result arrays. A null pointer skips that quantity. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct PerAtomOut { // fields double* :ref:`energy` = nullptr; double* :ref:`virial` = nullptr; }; .. _details-structrgpot_1_1_per_atom_out: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Per-atom result arrays. A null pointer skips that quantity. Fields ------ .. index:: pair: variable; energy .. _doxid-structrgpot_1_1_per_atom_out_1a1157e535b6f32c7bf29fb461255a07e2: .. ref-code-block:: cpp :class: doxyrest-title-code-block double* energy = nullptr nAtoms entries; they sum to :ref:`ForceOut::energy `. .. index:: pair: variable; virial .. _doxid-structrgpot_1_1_per_atom_out_1ab14658d609f92db36c48d25adc954bcc: .. ref-code-block:: cpp :class: doxyrest-title-code-block double* virial = nullptr 6 \* nAtoms entries, xx yy zz yz xz xy per atom.