n2p2 - A neural network potential package
|
Struct containing statistics gathered during symmetry function calculation. More...
#include <SymFncStatistics.h>
Public Member Functions | |
Container () | |
Constructor, initializes contents to zero. More... | |
void | reset () |
Reset all values. More... | |
void | resetStatistics () |
Reset only statistics. More... | |
void | resetExtrapolationWarnings () |
Reset only extrapolation warnings. More... | |
Public Attributes | |
std::size_t | count |
Counts total number of symmetry function evaluations. More... | |
std::size_t | countEW |
Counts extrapolation warnings. More... | |
std::size_t | type |
Symmetry function type. More... | |
double | min |
Minimum symmetry function value encountered. More... | |
double | max |
Maximum symmetry function value encountered. More... | |
double | Gmin |
Minimum symmetry function from scaling data. More... | |
double | Gmax |
Maximum symmetry function from scaling data. More... | |
double | sum |
Sum of symmetry function values (to compute mean). More... | |
double | sum2 |
Sum of squared symmetry function values (to compute sigma). More... | |
std::string | element |
Element string of central atom of symmetry function. More... | |
std::vector< std::size_t > | indexStructureEW |
Structure indices for which extrapolation warnings occured. More... | |
std::vector< std::size_t > | indexAtomEW |
Atom indices for which extrapolation warnings occured. More... | |
std::vector< double > | valueEW |
Out-of-bounds values causing extrapolation warnings. More... | |
Struct containing statistics gathered during symmetry function calculation.
Definition at line 34 of file SymFncStatistics.h.
SymFncStatistics::Container::Container | ( | ) |
Constructor, initializes contents to zero.
Except min, max which are initialized to largest positive and negative double values, respectively.
Definition at line 25 of file SymFncStatistics.cpp.
void SymFncStatistics::Container::reset | ( | ) |
Reset all values.
Definition at line 39 of file SymFncStatistics.cpp.
References nnp::SymFncStatistics::resetExtrapolationWarnings(), and nnp::SymFncStatistics::resetStatistics().
void SymFncStatistics::Container::resetStatistics | ( | ) |
void SymFncStatistics::Container::resetExtrapolationWarnings | ( | ) |
Reset only extrapolation warnings.
Definition at line 58 of file SymFncStatistics.cpp.
std::size_t nnp::SymFncStatistics::Container::count |
Counts total number of symmetry function evaluations.
Definition at line 37 of file SymFncStatistics.h.
Referenced by nnp::Dataset::collectSymmetryFunctionStatistics(), nnp::Dataset::writeSymmetryFunctionHistograms(), and nnp::Dataset::writeSymmetryFunctionScaling().
std::size_t nnp::SymFncStatistics::Container::countEW |
Counts extrapolation warnings.
Definition at line 39 of file SymFncStatistics.h.
std::size_t nnp::SymFncStatistics::Container::type |
Symmetry function type.
Definition at line 41 of file SymFncStatistics.h.
double nnp::SymFncStatistics::Container::min |
Minimum symmetry function value encountered.
Definition at line 43 of file SymFncStatistics.h.
Referenced by nnp::Dataset::collectSymmetryFunctionStatistics(), nnp::Dataset::writeSymmetryFunctionHistograms(), and nnp::Dataset::writeSymmetryFunctionScaling().
double nnp::SymFncStatistics::Container::max |
Maximum symmetry function value encountered.
Definition at line 45 of file SymFncStatistics.h.
Referenced by nnp::Dataset::collectSymmetryFunctionStatistics(), nnp::Dataset::writeSymmetryFunctionHistograms(), and nnp::Dataset::writeSymmetryFunctionScaling().
double nnp::SymFncStatistics::Container::Gmin |
Minimum symmetry function from scaling data.
Definition at line 47 of file SymFncStatistics.h.
double nnp::SymFncStatistics::Container::Gmax |
Maximum symmetry function from scaling data.
Definition at line 49 of file SymFncStatistics.h.
double nnp::SymFncStatistics::Container::sum |
Sum of symmetry function values (to compute mean).
Definition at line 51 of file SymFncStatistics.h.
Referenced by nnp::Dataset::collectSymmetryFunctionStatistics(), nnp::Dataset::writeSymmetryFunctionHistograms(), and nnp::Dataset::writeSymmetryFunctionScaling().
double nnp::SymFncStatistics::Container::sum2 |
Sum of squared symmetry function values (to compute sigma).
Definition at line 53 of file SymFncStatistics.h.
Referenced by nnp::Dataset::collectSymmetryFunctionStatistics(), nnp::Dataset::writeSymmetryFunctionHistograms(), and nnp::Dataset::writeSymmetryFunctionScaling().
std::string nnp::SymFncStatistics::Container::element |
Element string of central atom of symmetry function.
Definition at line 55 of file SymFncStatistics.h.
std::vector<std::size_t> nnp::SymFncStatistics::Container::indexStructureEW |
Structure indices for which extrapolation warnings occured.
Definition at line 57 of file SymFncStatistics.h.
std::vector<std::size_t> nnp::SymFncStatistics::Container::indexAtomEW |
Atom indices for which extrapolation warnings occured.
Definition at line 59 of file SymFncStatistics.h.
std::vector<double> nnp::SymFncStatistics::Container::valueEW |
Out-of-bounds values causing extrapolation warnings.
Definition at line 61 of file SymFncStatistics.h.