struct gpr_derivative_options

Overview

Options of the derivative primitives (ABI 1.20). More…

#include <gpr/capi/gpridge_c.h>
 
struct gpr_derivative_options {
    // fields
 
    size_t struct_size;
    int energy_unit;
    int length_unit;
    int project_rigid;
    double max_energy_std;
    double variance_step;
};

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

int energy_unit

gpr_energy_unit_t tag (default NATIVE)

int length_unit

gpr_length_unit_t tag (default NATIVE)

int project_rigid

1: project rigid motions (default 0)

double max_energy_std

fail-closed threshold; <= 0 disables it

double variance_step

stencil step of the Hessian covariance in native length units; <= 0 means 1e-3