Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
LocalEntropyCalculator.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
13
15
20 real_t cutoff = static_cast<real_t>(5.0);
21 real_t sigma = static_cast<real_t>(0.2);
22};
23
32public:
33 [[nodiscard]] std::string_view getName() const override { return "Local Entropy Fingerprint"; }
34 [[nodiscard]] std::string_view getShortName() const override { return "LEF"; }
35 [[nodiscard]] std::string_view getGroup() const override { return "Structural"; }
36 [[nodiscard]] std::string_view getDescription() const override {
37 return "Computes the Local Entropic Fingerprint (LEF) distribution.";
38 }
39
40 [[nodiscard]] bool isFrameCalculator() const override { return true; }
41 [[nodiscard]] bool isTrajectoryCalculator() const override { return false; }
42
44 const correlation::analysis::AnalysisSettings &settings) const override;
45
54 [[nodiscard]] static std::vector<real_t>
56 const correlation::analysis::StructureAnalyzer *neighbors = nullptr,
57 LocalEntropyParams params = {});
58
67 [[nodiscard]] static correlation::analysis::Histogram
69 const correlation::analysis::StructureAnalyzer *neighbors = nullptr,
70 LocalEntropyParams params = {});
71};
72
73} // namespace correlation::calculators
Abstract base class for all analysis calculators.
Manager for distribution function calculations (RDF, PAD, S(Q), etc.).
Manages the calculation and storage of various distribution functions.
Definition DistributionFunctions.hpp:259
Computes and stores pairwise distances and bond angles in tensors indexed by element type.
Definition StructureAnalyzer.hpp:33
Computes the Local Entropic Fingerprint (LEF) for all atoms.
Definition LocalEntropyCalculator.hpp:31
static std::vector< real_t > calculatePerAtom(const correlation::core::Cell &cell, const correlation::analysis::StructureAnalyzer *neighbors=nullptr, LocalEntropyParams params={})
Computes the per-atom Local Entropic Fingerprint for all atoms in the cell.
Definition LocalEntropyCalculator.cpp:370
std::string_view getDescription() const override
Returns a brief description of the calculator's purpose.
Definition LocalEntropyCalculator.hpp:36
bool isFrameCalculator() const override
Check if this calculator runs per-frame (e.g. RDF, PAD).
Definition LocalEntropyCalculator.hpp:40
bool isTrajectoryCalculator() const override
Check if this calculator runs on the whole trajectory (e.g. VACF).
Definition LocalEntropyCalculator.hpp:41
std::string_view getShortName() const override
Returns a short, UI-friendly name of the calculator (e.g. "g_r", "S_q").
Definition LocalEntropyCalculator.hpp:34
std::string_view getName() const override
Returns the unique identifier/name of the calculator.
Definition LocalEntropyCalculator.hpp:33
static correlation::analysis::Histogram calculate(const correlation::core::Cell &cell, const correlation::analysis::StructureAnalyzer *neighbors=nullptr, LocalEntropyParams params={})
Computes the Local Entropic Fingerprint for all atoms in the cell.
Definition LocalEntropyCalculator.cpp:406
void calculateFrame(correlation::analysis::DistributionFunctions &dists, const correlation::analysis::AnalysisSettings &settings) const override
Calculate per-frame properties. Called concurrently on different DistributionFunctions objects....
Definition LocalEntropyCalculator.cpp:358
std::string_view getGroup() const override
Returns the UI group this calculator belongs to (e.g., "Radial", "Angular", "Dynamic",...
Definition LocalEntropyCalculator.hpp:35
Represents the simulation cell (periodic box).
Definition Cell.hpp:30
Definition OptionsSyncService.hpp:18
double real_t
Definition Precision.hpp:18
Configuration settings for distribution function analysis.
Definition DistributionFunctions.hpp:106
Container for a single calculated distribution function.
Definition DistributionFunctions.hpp:226
Parameters for the Local Entropic Fingerprint (LEF) calculation.
Definition LocalEntropyCalculator.hpp:19
real_t cutoff
Integration cutoff radius Rc in Angstroms.
Definition LocalEntropyCalculator.hpp:20
real_t sigma
Gaussian kernel standard deviation in Angstroms.
Definition LocalEntropyCalculator.hpp:21