Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
PhysicsService.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
12#include "core/Cell.hpp"
13#include "math/Precision.hpp"
14
15#include <cstddef>
16
17namespace correlation::app {
18
24public:
30 [[nodiscard]] static real_t computeRecommendedTimeStep(const correlation::core::Cell *cell);
31
40
49 buildUniformBondCutoffs(size_t num_elements, real_t min_cutoff, real_t max_cutoff);
50};
51
52} // namespace correlation::app
Simulation cell structure with periodic boundary conditions.
Floating point precision type definitions for Correlation.
Contiguous 2D matrix of element-pair bond cutoff ranges.
Definition AnalysisTypes.hpp:48
Stateless utility service providing atomic mass, time step, and cutoff calculations.
Definition PhysicsService.hpp:23
static correlation::analysis::BondCutoffMatrix scaleBondCutoffs(const correlation::analysis::BondCutoffMatrix &cutoffs, real_t scale_factor)
Scales a bond cutoff matrix by a linear scaling factor.
Definition PhysicsService.cpp:48
static real_t computeRecommendedTimeStep(const correlation::core::Cell *cell)
Computes a recommended simulation time step based on atomic masses in a cell.
Definition PhysicsService.cpp:19
static correlation::analysis::BondCutoffMatrix buildUniformBondCutoffs(size_t num_elements, real_t min_cutoff, real_t max_cutoff)
Constructs a uniform symmetric bond cutoff matrix for a given element count.
Definition PhysicsService.cpp:66
Represents the simulation cell (periodic box).
Definition Cell.hpp:30
Definition AppController.hpp:27
double real_t
Definition Precision.hpp:18