.. index:: pair: struct; gpr_derivative_options .. _doxid-structgpr__derivative__options: struct gpr_derivative_options ============================= .. toctree:: :hidden: Overview ~~~~~~~~ Options of the derivative primitives (ABI 1.20). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct gpr_derivative_options { // fields size_t :target:`struct_size`; int :ref:`energy_unit`; int :ref:`length_unit`; int :ref:`project_rigid`; double :ref:`max_energy_std`; double :ref:`variance_step`; }; .. _details-structgpr__derivative__options: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Options of the derivative primitives (ABI 1.20). Set struct_size to sizeof(gpr_derivative_options_t); fields past struct_size take their defaults. A NULL options pointer means the defaults of gpr_derivative_options_defaults. Fields ------ .. index:: pair: variable; energy_unit .. _doxid-structgpr__derivative__options_1a4c3093b6dbd2c914400ff099a3a0fd33: .. ref-code-block:: cpp :class: doxyrest-title-code-block int energy_unit :ref:`gpr_energy_unit_t ` tag (default NATIVE) .. index:: pair: variable; length_unit .. _doxid-structgpr__derivative__options_1a6038f2cce4261b3ea923d706c06f098c: .. ref-code-block:: cpp :class: doxyrest-title-code-block int length_unit :ref:`gpr_length_unit_t ` tag (default NATIVE) .. index:: pair: variable; project_rigid .. _doxid-structgpr__derivative__options_1a0f6fe6338558093fc580243409ad8944: .. ref-code-block:: cpp :class: doxyrest-title-code-block int project_rigid 1: project rigid motions (default 0) .. index:: pair: variable; max_energy_std .. _doxid-structgpr__derivative__options_1a0ae782d97fca2d62b2034955a9b20a30: .. ref-code-block:: cpp :class: doxyrest-title-code-block double max_energy_std fail-closed threshold; <= 0 disables it .. index:: pair: variable; variance_step .. _doxid-structgpr__derivative__options_1a8826501326e9a54223086cf8fa94c085: .. ref-code-block:: cpp :class: doxyrest-title-code-block double variance_step stencil step of the Hessian covariance in native length units; <= 0 means 1e-3