Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::app Namespace Reference

Namespaces

namespace  detail

Classes

class  AppController
 Controller class for the application orchestrating services and UI. More...
struct  AppDefaults
 Default values and messages for the application. More...
struct  ProgramOptions
 Encapsulates all configurable options for the application. More...
struct  AppSettings
 Stores layout geometry and window dimensions across app sessions. More...
class  SettingsManager
 Handles saving and loading AppSettings to/from ~/.correlation/settings.json. More...
struct  CutoffEntry
 Plain data representation of a bond cutoff pair decoupled from UI frameworks. More...
class  BondCutoffMapper
 Stateless transformation service mapping atomic elements to cutoff configurations. More...
class  PlotExportService
 Stateless service executing plot file exports decoupled from UI frameworks. More...
struct  PinnedRun
 Represents a snapshot of analytical histograms preserved for comparison overlay. More...
class  PlotSeriesManager
 Manages curve visibility, custom palette colors, pinned comparison runs, and Slint toggle models. More...
struct  PlotTableModel
 Container holding Slint VectorModels for table headers and rows. More...
class  PlotTableFormatter
 Stateless utility transforming Histogram data into Slint tabular models. More...
class  AnalysisDispatcher
 Dispatches analysis workflows to CorrelationEngine, handles cancellation, and exports data. More...
class  AnalysisRunner
 Manages the background thread and logic for running analysis workflows. More...
class  BondCutoffService
 Service calculating and managing covalent bond cutoffs on trajectories and cells. More...
struct  DomainPresetDefinition
 Specification for a scientific domain preset. More...
class  DomainPresetRegistry
 Registry of pre-configured material domain workflow templates. More...
class  FileIOHandler
 Manages open/save file dialogs and background file loading. More...
class  InputValidator
 Handles UI input validation. More...
class  OptionsResetService
 Stateless utility class providing default options restoration for UI analysis cards. More...
class  OptionsSyncService
 Stateless bidirectional synchronization between ProgramOptions and UI analysis models. More...
class  PhysicsService
 Stateless utility service providing atomic mass, time step, and cutoff calculations. More...
struct  Preset
 Represents a named set of user options for materials simulation analysis. More...
class  PresetManager
 Manages saving and loading analysis parameter presets to/from JSON files. More...
class  TrajectoryLoader
 Manages loading of structure/trajectory files and provides atomic/cell metadata. More...
struct  ReleaseInfo
 Holds metadata for a GitHub release. More...
class  UpdateChecker
 Checks for new releases asynchronously on GitHub without interrupting the user. More...
class  ValidationRuleService
 Stateless utility class providing functional parsing and validation rules. More...
class  BondCutoffController
 Controller that manages element-pair bond cutoff matrices and synchronizes with the UI. More...
class  PhaseExportManager
 Utility manager for generating Slint heatmap textures and exporting high-resolution PNGs. More...
struct  PhasePrebakeStatus
 Telemetry snapshot of background trajectory phase descriptor pre-baking. More...
class  PhaseSearchService
 Manages background order parameter calculations, multi-frame caching, and visual updates. More...
struct  PhasePresetConfig
 Nominal descriptor and threshold window for a canonical crystal structure or disordered preset. More...
struct  PhaseSearchSettings
 Comprehensive configuration bundle for real-time 3D phase transition visualization. More...
struct  PhaseHistogram
 50-bin distribution histogram of the active descriptor across all atoms in the frame. More...
struct  PhaseHeatmap2D
 128x128 joint distribution histogram across two order parameters (X and Y). More...
struct  CrystalMarkerData
 Canonical crystal reference coordinate normalized to [0, 1] on 2D heatmap. More...
struct  TaggedPeakData
 Internal representation of a user-tagged or auto-detected peak with integration metrics. More...
struct  PlotSize
class  PlotController
 Manages plot rendering, caching, interactions, and exports. More...
class  PlotExportManager
 Coordinates OS native save dialogs, comparison datasets formatting, and export I/O. More...
class  PlotMarkerManager
 Stores and formats vertical (+X) and horizontal (+Y) reference inspection markers. More...
struct  RenderTask
 Self-contained payload consumed by the background SVG render worker. More...
class  PlotRenderPipeline
 Manages background SVG rasterization/generation worker thread, task queue, and caching. More...
struct  ViewportLimits
 Optional manual boundary limits representing active zoom window. More...
class  PlotViewportNavigator
 Manages 2D plot coordinate space, active zoom window, and interactive pan/zoom transitions. More...
class  PresetController
 Manages parameter presets and material type configurations. More...
struct  FramePhaseDescriptors
 Unified container holding computed per-atom phase order parameters for a frame. More...
class  ThreadSafeLRUCache
 Thread-safe LRU cache storing per-atom parameters or descriptors for up to N trajectory frames, bounded by both frame count and a configurable memory byte budget. More...
struct  SlabClipConfig
 Normalized [0, 1] X/Y/Z bounding box clipping configuration for the 3D scene. More...
class  Structure3DController
 Coordinates 3D orbit interactions, scene streaming, and asynchronous off-thread rendering. More...
struct  RenderPipelineSnapshot
 Thread-safe capture of parameters required to render a 3D structure frame. More...
class  Structure3DRenderPipeline
 Manages background 3D offscreen rendering worker thread, LOD evaluation, and Slint image dispatch. More...
class  TrajectoryExportManager
 Encodes rendered RGBA8 trajectory frames into PNG-sequence ZIP archives or Animated GIFs. More...

Typedefs

using SteinhardtLRUCache = ThreadSafeLRUCache<calculators::SteinhardtCalculator::SteinhardtParams>
using PhaseDescriptorsLRUCache = ThreadSafeLRUCache<FramePhaseDescriptors>

Enumerations

enum class  DomainPresetId : std::uint8_t {
  SilicateBorateGlasses = 0 , AqueousMolecularLiquids = 1 , MoltenSaltsIonicLiquids = 2 , MetallicGlassesHEAs = 3 ,
  Invalid = 255
}
 Pre-packaged material domain template identifiers. More...
enum class  FactorBound { Min , Max }
 Specifies which cutoff bound (Min or Max) to adjust by a covalent factor. More...
enum class  PhaseDescriptor : std::uint8_t {
  Q6Bar , Q4Bar , Q6 , Q4 ,
  W6Hat , W4Hat , LocalEntropy , TwfNconn ,
  QTet , Displacement , D2Min , FermiLDOS
}
 Bond-orientational order parameter descriptors available for phase filtering. More...
enum class  CrystalPreset : std::uint8_t {
  Custom , Liquid , AmorphousGlass , AmorphousNetwork ,
  FCC , HCP , BCC , Icosahedral ,
  Diamond
}
 Canonical crystal structure and disordered state presets. More...

Functions

constexpr std::string_view descriptorToString (PhaseDescriptor descriptor) noexcept
 Converts PhaseDescriptor to human-readable string representation.
constexpr std::string_view presetToString (CrystalPreset preset) noexcept
 Converts CrystalPreset to human-readable string representation.
constexpr PhasePresetConfig getPresetConfig (CrystalPreset preset) noexcept
 Retrieves nominal descriptor and threshold bounds for canonical crystal presets.
constexpr std::pair< float, float > getDescriptorDomain (PhaseDescriptor descriptor) noexcept
 Returns domain bounds [min, max] for a given order descriptor.
std::vector< CrystalMarkerData > getCrystalReferenceMarkers (PhaseDescriptor desc_x, PhaseDescriptor desc_y) noexcept
 Computes normalized reference coordinates for canonical crystal phases in 2D space.

Typedef Documentation

◆ PhaseDescriptorsLRUCache

◆ SteinhardtLRUCache

Enumeration Type Documentation

◆ CrystalPreset

enum class correlation::app::CrystalPreset : std::uint8_t
strong

Canonical crystal structure and disordered state presets.

Enumerator
Custom 

User-defined manual threshold boundaries.

Liquid 

Disordered / equilibrium liquid state.

AmorphousGlass 

Dense random-packed metallic / structural glass.

AmorphousNetwork 

Tetrahedral network glass (e.g., a-Si, a-Ge, LDA water).

FCC 

Face-Centered Cubic lattice.

HCP 

Hexagonal Close-Packed lattice.

BCC 

Body-Centered Cubic lattice.

Icosahedral 

Icosahedral quasi-crystalline / cluster symmetry.

Diamond 

Diamond / tetrahedral network lattice.

◆ DomainPresetId

enum class correlation::app::DomainPresetId : std::uint8_t
strong

Pre-packaged material domain template identifiers.

Enumerator
SilicateBorateGlasses 

Oxide glasses with covalent network and ring statistics.

AqueousMolecularLiquids 

Hydrogen-bonded liquids, diffusion, and velocity dynamics.

MoltenSaltsIonicLiquids 

Molten salts, charge alternation, and screening radii.

MetallicGlassesHEAs 

Metallic glasses, Voronoi polyhedra, and local entropy.

Invalid 

Sentinel for invalid preset identifiers.

◆ FactorBound

enum class correlation::app::FactorBound
strong

Specifies which cutoff bound (Min or Max) to adjust by a covalent factor.

Enumerator
Min 
Max 

◆ PhaseDescriptor

enum class correlation::app::PhaseDescriptor : std::uint8_t
strong

Bond-orientational order parameter descriptors available for phase filtering.

Enumerator
Q6Bar 

Lechner-Dellago averaged q̄₆ (primary crystal symmetry descriptor).

Q4Bar 

Lechner-Dellago averaged q̄₄.

Q6 

Standard single-atom q₆.

Q4 

Standard single-atom q₄.

W6Hat 

Normalized third-order invariant ŵ₆ (distinguishes icosahedral symmetry).

W4Hat 

Normalized third-order invariant ŵ₄.

LocalEntropy 

Local Entropic Fingerprint (s_i / k_B).

TwfNconn 

Ten Wolde-Frenkel coherent bond count (N_conn).

QTet 

Chau-Hardwick tetrahedral order parameter (q_tet).

Displacement 

Cumulative PBC-unwrapped atomic displacement |Δr| relative to frame 0 (Å).

D2Min 

Falk-Langer non-affine squared displacement D²_min relative to frame 0 (Ų).

FermiLDOS 

Site-resolved Fermi-level electronic LDOS N_i(E_F) (states/eV/atom).

Function Documentation

◆ descriptorToString()

std::string_view correlation::app::descriptorToString ( PhaseDescriptor descriptor)
nodiscardconstexprnoexcept

Converts PhaseDescriptor to human-readable string representation.

Parameters
[in]descriptorDescriptor enum value.
Returns
String view of descriptor name.
Here is the caller graph for this function:

◆ getCrystalReferenceMarkers()

std::vector< CrystalMarkerData > correlation::app::getCrystalReferenceMarkers ( PhaseDescriptor desc_x,
PhaseDescriptor desc_y )
inlinenodiscardnoexcept

Computes normalized reference coordinates for canonical crystal phases in 2D space.

Parameters
[in]desc_xX-axis order parameter descriptor.
[in]desc_yY-axis order parameter descriptor.
Returns
Vector of CrystalMarkerData coordinates normalized to canvas [0, 1].
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDescriptorDomain()

std::pair< float, float > correlation::app::getDescriptorDomain ( PhaseDescriptor descriptor)
nodiscardconstexprnoexcept

Returns domain bounds [min, max] for a given order descriptor.

Boundaries are expanded to full thermodynamic and physical limits (~20% zoom out).

Parameters
[in]descriptorTarget order parameter.
Returns
Pair of floats representing the nominal [min, max] range.
Here is the caller graph for this function:

◆ getPresetConfig()

PhasePresetConfig correlation::app::getPresetConfig ( CrystalPreset preset)
nodiscardconstexprnoexcept

Retrieves nominal descriptor and threshold bounds for canonical crystal presets.

Parameters
[in]presetPreset enum value.
Returns
PhasePresetConfig populated with standard Steinhardt bounds.
Here is the caller graph for this function:

◆ presetToString()

std::string_view correlation::app::presetToString ( CrystalPreset preset)
nodiscardconstexprnoexcept

Converts CrystalPreset to human-readable string representation.

Parameters
[in]presetPreset enum value.
Returns
String view of preset name.