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

Atom data structure and AtomID type definitions. More...

#include "math/LinearAlgebra.hpp"
#include "math/Precision.hpp"
#include <algorithm>
#include <array>
#include <atomic>
#include <cstdint>
#include <memory>
#include <mutex>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>
Include dependency graph for Atom.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  correlation::core::ElementID
 Represents a unique integer ID for an element type. More...
struct  correlation::core::Element
 Represents a chemical element with its symbol and unique ID. More...
class  correlation::core::ElementPool
 Thread-safe flyweight pool for chemical Element instances. More...
class  correlation::core::Atom
 Represents an atom in the simulation cell. More...

Namespaces

namespace  correlation
namespace  correlation::core

Typedefs

using correlation::core::AtomID = std::uint32_t
 Unsigned integer type used for unique atom identification.

Functions

real_t correlation::core::distance (const Atom &atom_a, const Atom &atom_b) noexcept
 Calculates the Euclidean distance between two atoms.
real_t correlation::core::angle (const Atom &center, const Atom &atom_a, const Atom &atom_b) noexcept
 Calculates the angle (in radians) formed by three atoms.

Detailed Description

Atom data structure and AtomID type definitions.

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