occ
|
Results from analyzing a crystal surface cut. More...
#include <surface.h>
Public Types | |
using | DimerCounts = std::vector< std::vector< int > > |
Public Member Functions | |
SurfaceCutResult (const CrystalDimers &) | |
Constructor initializing the result from crystal dimers. | |
double | total_above (const CrystalDimers &) const |
Calculate total dimer count above the surface. | |
double | total_below (const CrystalDimers &) const |
double | total_slab (const CrystalDimers &) const |
double | total_bulk (const CrystalDimers &) const |
std::vector< std::vector< size_t > > | unique_counts_above (const CrystalDimers &) const |
Public Attributes | |
std::vector< Molecule > | molecules |
std::string | exyz |
DimerCounts | above |
DimerCounts | below |
DimerCounts | slab |
DimerCounts | bulk |
double | depth_scale {1.0} |
Mat3 | basis |
double | cut_offset {0.0} |
Results from analyzing a crystal surface cut.
Contains information about molecules and dimer counts in different regions relative to a surface cut, including those above, below, in the slab, and in the bulk.
using occ::crystal::SurfaceCutResult::DimerCounts = std::vector<std::vector<int> > |
occ::crystal::SurfaceCutResult::SurfaceCutResult | ( | const CrystalDimers & | ) |
Constructor initializing the result from crystal dimers.
dimers | The crystal dimers to analyze |
double occ::crystal::SurfaceCutResult::total_above | ( | const CrystalDimers & | ) | const |
Calculate total dimer count above the surface.
dimers | Reference crystal dimers |
double occ::crystal::SurfaceCutResult::total_below | ( | const CrystalDimers & | ) | const |
double occ::crystal::SurfaceCutResult::total_bulk | ( | const CrystalDimers & | ) | const |
double occ::crystal::SurfaceCutResult::total_slab | ( | const CrystalDimers & | ) | const |
std::vector< std::vector< size_t > > occ::crystal::SurfaceCutResult::unique_counts_above | ( | const CrystalDimers & | ) | const |
DimerCounts occ::crystal::SurfaceCutResult::above |
Mat3 occ::crystal::SurfaceCutResult::basis |
DimerCounts occ::crystal::SurfaceCutResult::below |
DimerCounts occ::crystal::SurfaceCutResult::bulk |
double occ::crystal::SurfaceCutResult::cut_offset {0.0} |
double occ::crystal::SurfaceCutResult::depth_scale {1.0} |
std::string occ::crystal::SurfaceCutResult::exyz |
std::vector<Molecule> occ::crystal::SurfaceCutResult::molecules |
DimerCounts occ::crystal::SurfaceCutResult::slab |