Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::mlip::PeriodicGraphData Struct Reference

Extracted graph tensor buffers for GNN model inference. More...

#include <PeriodicGraphBuilder.hpp>

Public Attributes

std::vector< real_t > positions_flat
std::vector< int64_t > atomic_numbers
std::vector< int64_t > edge_index_flat
std::vector< real_t > edge_shifts_flat
std::vector< real_t > edge_vectors_flat
std::vector< real_t > edge_distances
std::vector< real_t > edge_spherical_harmonics_flat
std::vector< real_t > edge_unit_vectors_flat
std::vector< real_t > edge_radial_basis_flat
std::vector< real_t > edge_cutoff_envelope_flat
std::vector< real_t > edge_orb_features_flat
std::vector< int > cna_labels
std::vector< real_t > coordination_desc
std::vector< real_t > ring_desc
std::array< real_t, 9 > cell_flat {}
size_t atom_count {0}
size_t edge_count {0}

Detailed Description

Extracted graph tensor buffers for GNN model inference.

Member Data Documentation

◆ atom_count

size_t correlation::mlip::PeriodicGraphData::atom_count {0}

Total atom count N.

◆ atomic_numbers

std::vector<int64_t> correlation::mlip::PeriodicGraphData::atomic_numbers

[N] Atomic numbers (Z).

◆ cell_flat

std::array<real_t, 9> correlation::mlip::PeriodicGraphData::cell_flat {}

[3 * 3] Lattice vectors matrix.

◆ cna_labels

std::vector<int> correlation::mlip::PeriodicGraphData::cna_labels

[N] Per-atom Common Neighbor Analysis (CNA) classification label.

◆ coordination_desc

std::vector<real_t> correlation::mlip::PeriodicGraphData::coordination_desc

[N] Per-atom coordination number embedding.

◆ edge_count

size_t correlation::mlip::PeriodicGraphData::edge_count {0}

Total directed edge count E.

◆ edge_cutoff_envelope_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_cutoff_envelope_flat

[E] Polynomial cutoff envelope f_cut(d).

◆ edge_distances

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_distances

[E] Euclidean edge distances ||r_ij||.

◆ edge_index_flat

std::vector<int64_t> correlation::mlip::PeriodicGraphData::edge_index_flat

[2 * E] Directed edge indices (row 0: src, row 1: dst).

◆ edge_orb_features_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_orb_features_flat

[E * (num_rbf * (l_max + 1)^2)] Fused outer product tensor f_cut * (RBF (x) Y_lm).

◆ edge_radial_basis_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_radial_basis_flat

[E * num_rbf] Bessel radial basis expansion.

◆ edge_shifts_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_shifts_flat

[E * 3] Periodic cell displacement integer shift vectors.

◆ edge_spherical_harmonics_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_spherical_harmonics_flat

[E * (l_max + 1)^2] Equivariant spherical harmonics features (if l_max > 0).

◆ edge_unit_vectors_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_unit_vectors_flat

[E * 3] Normalized displacement vectors r_hat = r_ij / d.

◆ edge_vectors_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::edge_vectors_flat

[E * 3] Cartesian displacement vectors r_ij = r_j + R*s - r_i.

◆ positions_flat

std::vector<real_t> correlation::mlip::PeriodicGraphData::positions_flat

[N * 3] Cartesian atomic coordinates in Angstroms.

◆ ring_desc

std::vector<real_t> correlation::mlip::PeriodicGraphData::ring_desc

[N * max_ring_size] Per-atom ring membership count embedding.


The documentation for this struct was generated from the following file: