/** * @file Atom.cpp * @author marisa * @brief Atom definitions * @version 0.1 * @date 2023-08-05 * * Copyright (c) 2023 marisa * */ #include #include "Atom.hpp" void printAtom(Atom atom) { // Print an atom in XYZ format with extra information std::cout << atom.name << " " << atom.x << " " << atom.y << " " << atom.z << " " << atom.vx << " " << atom.vy << " " << atom.vz << " " << atom.m << std::endl; } void printAtoms(std::vector atoms) { for (auto atom : atoms) printAtom(atom); }