occ
Loading...
Searching...
No Matches
crystal_morphology.h File Reference
#include <istream>
#include <nlohmann/json.hpp>
#include <occ/cg/morphology_types.h>
#include <occ/cg/result_types.h>
#include <occ/crystal/crystal.h>
#include <occ/crystal/hkl.h>
#include <occ/driver/crystal_surface_energy.h>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for crystal_morphology.h:

Classes

struct  occ::driver::MorphologyOptions
 Options for the particle size/shape-dependent energy calculation. More...
struct  occ::driver::NamedShape
 One named shape from a multi-shape file. More...
struct  occ::driver::CornerMorphology
 A symmetry-unique corner type of the particle shape. More...
struct  occ::driver::EdgeMorphology
 A symmetry-unique edge type of the particle shape. More...
struct  occ::driver::FacetMorphology
 A facet of the (Wulff or user) particle shape. More...
struct  occ::driver::MorphologyResult
 Particle size/shape-dependent (surface + edge + corner) energies. More...
struct  occ::driver::NeighbourBond
 One stamped neighbour interaction, as the decomposition sees it. More...
struct  occ::driver::ParticleSample
 Broken-bond excess energy of a finite particle at one size, decomposed by inclusion-exclusion so e_excess == e_surface + e_edge + e_corner exactly. More...
struct  occ::driver::ShapeFace
 One active face of the particle shape, as the decomposition uses it: the support distance is per unit scale, and the optimal-cut offset and interplanar spacing are what snap it to a molecular termination. More...

Namespaces

namespace  occ
namespace  occ::cg
namespace  occ::driver

Functions

void occ::cg::to_json (nlohmann::json &, const MorphologyResult &)
MorphologyResult occ::driver::compute_crystal_morphology (const occ::crystal::Crystal &crystal, const occ::crystal::CrystalDimers &uc_dimers, const CrystalSurfaceEnergies &surface_energies, const occ::cg::CrystalGrowthResult &growth_result, const MorphologyOptions &options={})
 Compute the particle size/shape-dependent (surface + edge + corner) energy.
std::vector< std::pair< occ::crystal::HKL, double > > occ::driver::read_morphology_shape (std::istream &input)
 Read a particle shape for MorphologyOptions::user_shifts: one face per line as h k l distance, one face per form (its symmetry-equivalent faces are added), distances in any one unit since only their ratios matter.
std::vector< NamedShape > occ::driver::read_morphology_shapes (std::istream &input)
 Read one or more shapes.