Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
PhaseSearchTypes.hpp File Reference

Data types, descriptor enums, crystal presets, and telemetry models for Phase Search. More...

#include "plotters/ColormapService.hpp"
#include <cstdint>
#include <string_view>
#include <vector>
Include dependency graph for PhaseSearchTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  correlation::app::PhasePresetConfig
 Nominal descriptor and threshold window for a canonical crystal structure or disordered preset. More...
struct  correlation::app::PhaseSearchSettings
 Comprehensive configuration bundle for real-time 3D phase transition visualization. More...
struct  correlation::app::PhaseHistogram
 50-bin distribution histogram of the active descriptor across all atoms in the frame. More...
struct  correlation::app::PhaseHeatmap2D
 128x128 joint distribution histogram across two order parameters (X and Y). More...
struct  correlation::app::CrystalMarkerData
 Canonical crystal reference coordinate normalized to [0, 1] on 2D heatmap. More...
struct  correlation::app::detail::PhysicalMarker

Namespaces

namespace  correlation
namespace  correlation::app
namespace  correlation::app::detail

Enumerations

enum class  correlation::app::PhaseDescriptor : std::uint8_t {
  correlation::app::Q6Bar , correlation::app::Q4Bar , correlation::app::Q6 , correlation::app::Q4 ,
  correlation::app::W6Hat , correlation::app::W4Hat , correlation::app::LocalEntropy , correlation::app::TwfNconn ,
  correlation::app::QTet , correlation::app::Displacement , correlation::app::D2Min , correlation::app::FermiLDOS
}
 Bond-orientational order parameter descriptors available for phase filtering. More...
enum class  correlation::app::CrystalPreset : std::uint8_t {
  correlation::app::Custom , correlation::app::Liquid , correlation::app::AmorphousGlass , correlation::app::AmorphousNetwork ,
  correlation::app::FCC , correlation::app::HCP , correlation::app::BCC , correlation::app::Icosahedral ,
  correlation::app::Diamond
}
 Canonical crystal structure and disordered state presets. More...

Functions

constexpr std::string_view correlation::app::descriptorToString (PhaseDescriptor descriptor) noexcept
 Converts PhaseDescriptor to human-readable string representation.
constexpr std::string_view correlation::app::presetToString (CrystalPreset preset) noexcept
 Converts CrystalPreset to human-readable string representation.
constexpr PhasePresetConfig correlation::app::getPresetConfig (CrystalPreset preset) noexcept
 Retrieves nominal descriptor and threshold bounds for canonical crystal presets.
constexpr std::pair< float, float > correlation::app::getDescriptorDomain (PhaseDescriptor descriptor) noexcept
 Returns domain bounds [min, max] for a given order descriptor.
constexpr CrystalMarkerData correlation::app::detail::toNormalizedMarker (const PhysicalMarker &marker, std::pair< float, float > domain_x, std::pair< float, float > domain_y) noexcept
constexpr PhysicalMarker correlation::app::detail::swapAxes (const PhysicalMarker &marker) noexcept
std::vector< CrystalMarkerData > correlation::app::detail::normalizeMarkers (std::span< const PhysicalMarker > physical_markers, PhaseDescriptor desc_x, PhaseDescriptor desc_y) noexcept
std::vector< CrystalMarkerData > correlation::app::detail::normalizeSwappedMarkers (std::span< const PhysicalMarker > physical_markers, PhaseDescriptor desc_x, PhaseDescriptor desc_y) noexcept
std::vector< CrystalMarkerData > correlation::app::detail::getSteinhardtPairMarkers (PhaseDescriptor desc_x, PhaseDescriptor desc_y) noexcept
std::vector< CrystalMarkerData > correlation::app::detail::getDisorderedPairMarkers (PhaseDescriptor desc_x, PhaseDescriptor desc_y) noexcept
std::vector< CrystalMarkerData > correlation::app::getCrystalReferenceMarkers (PhaseDescriptor desc_x, PhaseDescriptor desc_y) noexcept
 Computes normalized reference coordinates for canonical crystal phases in 2D space.

Variables

constexpr std::array< PhysicalMarker, 8 > correlation::app::detail::K_MARKERS_Q6_Q4
constexpr std::array< PhysicalMarker, 8 > correlation::app::detail::K_MARKERS_Q6_W6
constexpr std::array< PhysicalMarker, 6 > correlation::app::detail::K_MARKERS_Q4_W4
constexpr std::array< PhysicalMarker, 6 > correlation::app::detail::K_MARKERS_Q6_LOCAL_ENTROPY
constexpr std::array< PhysicalMarker, 4 > correlation::app::detail::K_MARKERS_QTET_LOCAL_ENTROPY
constexpr std::array< PhysicalMarker, 8 > correlation::app::detail::K_MARKERS_QTET_Q6

Detailed Description

Data types, descriptor enums, crystal presets, and telemetry models for Phase Search.

License
SPDX-License-Identifier: AGPL-3.0-only