Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::readers::ChgnetReader::CommentData Struct Reference

Intermediate storage for parsed CHGNet Extended XYZ comment line metadata and column layout. More...

#include <ChgnetReader.hpp>

Public Attributes

std::optional< std::array< real_t, 9 > > lattice
 Optional 3x3 lattice vector matrix (Angstroms).
std::optional< real_t > energy
 Optional total potential energy.
int species_col = 0
 0-based column index for chemical species.
int pos_x_col = 1
 0-based column index for X coordinate.
int pos_y_col = 2
 0-based column index for Y coordinate.
int pos_z_col = 3
 0-based column index for Z coordinate.
int force_x_col = -1
 0-based column index for X force (or -1 if absent).
int force_y_col = -1
 0-based column index for Y force (or -1 if absent).
int force_z_col = -1
 0-based column index for Z force (or -1 if absent).

Detailed Description

Intermediate storage for parsed CHGNet Extended XYZ comment line metadata and column layout.

Member Data Documentation

◆ energy

std::optional<real_t> correlation::readers::ChgnetReader::CommentData::energy

Optional total potential energy.

◆ force_x_col

int correlation::readers::ChgnetReader::CommentData::force_x_col = -1

0-based column index for X force (or -1 if absent).

◆ force_y_col

int correlation::readers::ChgnetReader::CommentData::force_y_col = -1

0-based column index for Y force (or -1 if absent).

◆ force_z_col

int correlation::readers::ChgnetReader::CommentData::force_z_col = -1

0-based column index for Z force (or -1 if absent).

◆ lattice

std::optional<std::array<real_t, 9> > correlation::readers::ChgnetReader::CommentData::lattice

Optional 3x3 lattice vector matrix (Angstroms).

◆ pos_x_col

int correlation::readers::ChgnetReader::CommentData::pos_x_col = 1

0-based column index for X coordinate.

◆ pos_y_col

int correlation::readers::ChgnetReader::CommentData::pos_y_col = 2

0-based column index for Y coordinate.

◆ pos_z_col

int correlation::readers::ChgnetReader::CommentData::pos_z_col = 3

0-based column index for Z coordinate.

◆ species_col

int correlation::readers::ChgnetReader::CommentData::species_col = 0

0-based column index for chemical species.


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