|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Computes all unique 4-body dihedral (torsion) angles in the simulation cell. More...
#include <DihedralCalculator.hpp>


Public Member Functions | |
| std::string_view | getName () const override |
| Returns the unique identifier/name of the calculator. | |
| std::string_view | getShortName () const override |
| Returns a short, UI-friendly name of the calculator (e.g. "g_r", "S_q"). | |
| std::string_view | getGroup () const override |
| Returns the UI group this calculator belongs to (e.g., "Radial", "Angular", "Dynamic", "Rings"). | |
| std::string_view | getDescription () const override |
| Returns a brief description of the calculator's purpose. | |
| bool | isFrameCalculator () const override |
| Check if this calculator runs per-frame (e.g. RDF, PAD). | |
| bool | isTrajectoryCalculator () const override |
| Check if this calculator runs on the whole trajectory (e.g. VACF). | |
| void | calculateFrame (correlation::analysis::DistributionFunctions &dists, const correlation::analysis::AnalysisSettings &settings) const override |
| Dispatches the calculation for a single configuration frame. | |
| Public Member Functions inherited from correlation::calculators::BaseCalculator | |
| BaseCalculator ()=default | |
| ~BaseCalculator () override=default | |
| BaseCalculator (const BaseCalculator &)=delete | |
| BaseCalculator & | operator= (const BaseCalculator &)=delete |
| BaseCalculator (BaseCalculator &&)=delete | |
| BaseCalculator & | operator= (BaseCalculator &&)=delete |
| bool | isConfigured () const override |
| Check if the calculator has all required models, parameters, and resources configured to execute. | |
| void | calculateTrajectory (correlation::analysis::DistributionFunctions &dists, const correlation::core::Trajectory &traj, const correlation::analysis::AnalysisSettings &settings) const override |
| Calculate multi-frame properties or post-processing. Called once after all frames are accumulated. | |
| Public Member Functions inherited from correlation::calculators::IFrameCalculator | |
| ~IFrameCalculator () override=default | |
| Public Member Functions inherited from correlation::calculators::ICalculator | |
| ICalculator ()=default | |
| virtual | ~ICalculator ()=default |
| ICalculator (const ICalculator &)=delete | |
| ICalculator & | operator= (const ICalculator &)=delete |
| ICalculator (ICalculator &&)=delete | |
| ICalculator & | operator= (ICalculator &&)=delete |
| Public Member Functions inherited from correlation::calculators::ITrajectoryCalculator | |
| ~ITrajectoryCalculator () override=default | |
Static Public Member Functions | |
| static void | compute (const correlation::core::Cell &cell, const correlation::core::NeighborGraph &graph, correlation::analysis::StructureAnalyzer::DihedralTensor &out_dihedrals) |
| Computes and populates the dihedral angles tensor. | |
Computes all unique 4-body dihedral (torsion) angles in the simulation cell.
This calculator identifies all bonded quadruplets (A-B-C-D) and calculates the dihedral angle defined by the two intersecting planes: plane(A,B,C) and plane(B,C,D). The computation is accelerated using Intel TBB (tbb::parallel_for) with thread-local storage.
|
overridevirtual |
Dispatches the calculation for a single configuration frame.
| [in,out] | dists | Distribution functions container. |
| [in] | settings | Current analysis configuration settings. |
Reimplemented from correlation::calculators::BaseCalculator.
|
static |
Computes and populates the dihedral angles tensor.
| [in] | cell | The simulation cell containing atoms and positions. |
| [in] | graph | The pre-computed neighbor graph containing local connections. |
| [out] | out_dihedrals | A 5D tensor [Element A][Element B][Element C][Element D][angle_idx] where elements are the indices, populated with angles in radians [-pi, pi]. |


|
inlinenodiscardoverridevirtual |
Returns a brief description of the calculator's purpose.
Implements correlation::calculators::BaseCalculator.
|
inlinenodiscardoverridevirtual |
Returns the UI group this calculator belongs to (e.g., "Radial", "Angular", "Dynamic", "Rings").
Implements correlation::calculators::BaseCalculator.
|
inlinenodiscardoverridevirtual |
Returns the unique identifier/name of the calculator.
Implements correlation::calculators::BaseCalculator.
|
inlinenodiscardoverridevirtual |
Returns a short, UI-friendly name of the calculator (e.g. "g_r", "S_q").
Implements correlation::calculators::BaseCalculator.
|
inlinenodiscardoverridevirtual |
Check if this calculator runs per-frame (e.g. RDF, PAD).
Implements correlation::calculators::BaseCalculator.
|
inlinenodiscardoverridevirtual |
Check if this calculator runs on the whole trajectory (e.g. VACF).
Implements correlation::calculators::BaseCalculator.