Add Maxwell-Boltzmann method for velocities
This commit is contained in:
@@ -20,11 +20,8 @@ int main() {
|
||||
|
||||
System system(0.001);
|
||||
|
||||
std::vector<Atom> atoms = generateFCCAtoms(5.26, 3);
|
||||
system.addAtom(std::move(atoms));
|
||||
|
||||
atoms = generateFCCAtoms(5.26, 3);
|
||||
offsetAtoms(atoms, 15, 15, 15);
|
||||
std::vector<Atom> atoms = generateFCCAtoms(5.26, 3, "Ar", 1);
|
||||
initMaxwellBoltzmannVelocities(atoms, 300);
|
||||
system.addAtom(std::move(atoms));
|
||||
|
||||
system.printAtoms();
|
||||
|
||||
Reference in New Issue
Block a user