Files
MolecularDynamics2/src/main.cpp

30 lines
589 B
C++

/**
* @file main.cpp
* @author jun <jun@firmwarejun.net>
* @brief Main entry of the program
* @version 0.1
* @date 2023-07-23
*
* Copyright (c) 2023 jun <https://git.firmwarejun.net/jun/MolecularDynamics2>
*
*/
#include <iostream>
#include "md/Atom.hpp"
#include "md/AtomsGenerator.hpp"
#include "md/System.hpp"
int main() {
std::cout << "kk eae men" << std::endl;
System system(0.001);
std::vector<Atom> atoms = generateFCCAtoms(5.26, 3, "Ar", 1);
initMaxwellBoltzmannVelocities(atoms, 300);
system.addAtom(std::move(atoms));
system.printAtoms();
return 0;
}