struct aux::EndpointAlignResult

Overview

#include <gpr/auxiliary/IRAAlign.h>
 
struct EndpointAlignResult {
    // fields
 
    bool available = false;
    bool applied = false;
    bool identity = false;
    double hausdorff = 0.0;
    int error = 0;
    std::vector<int> permutation;
    Eigen::VectorXd aligned;
    std::array<double, 9> rotation {1.0, 0.0, 0.0, 0.0, 1.0,                                    0.0, 0.0, 0.0, 1.0};
    std::array<double, 3> translation {0.0, 0.0, 0.0};
    const char* method = “none”;
    int bond_changes_identity = 0;
    int bond_changes_assigned = 0;
    bool bond_graph_kept_identity = false;
};

Detailed Documentation

Fields

bool available = false

built with WITH_IRA and libira linked

bool applied = false

libira_match succeeded (error == 0)

bool identity = false

identity assignment found: the caller MUST keep the original product coordinates (bit-equal pass-through)

double hausdorff = 0.0

Hausdorff distance after alignment.

int error = 0

0 on success; libira cerr or local code

std::vector<int> permutation

0-based map: reactant slot i takes product atom permutation[i]

Eigen::VectorXd aligned

product mapped onto the reactant frame (flat 3N, xyzxyz); empty when identity

std::array<double, 9> rotation {1.0, 0.0, 0.0, 0.0, 1.0,                                    0.0, 0.0, 0.0, 1.0}

row-major R

const char* method = “none”

“ira_match” or “cshda_svd”

int bond_changes_identity = 0

covalent bond changes R->P under the input ordering

int bond_changes_assigned = 0

the same under the min-distance assignment

bool bond_graph_kept_identity = false

assignment rejected: it is no symmetry of either endpoint’s bond graph