-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do you use the simulation cell to generate the .dat? #1
Comments
Thanks for your interest! So I think your question is referring to the
So this is there because I initially intended to extend the code to enable various transformations and allow for periodic systems. I never got around to this, and so it adds no utility. |
Thank you for your reply, @stefanbringuier . I was talking about the type: SystemOfAtoms struct SystemOfAtoms
natoms::Integer;
atoms::Array{Atom,1};
cell::Array{Float64,2};
function SystemOfAtoms(natoms=1,
atoms=[Atom()],
cell=zeros(3,3))
if natoms < 0
error("Simulation cell cannot have negative atoms.")
end
if size(cell) != (3,3)
error("Simulation cell is not a 3x3 array.")
end
if typeof(atoms) != Array{Atom,1}
error("Atomic entries are not of the typeof() == Atom.")
end
new(natoms,atoms,cell)
end
end #SystemOfAtoms |
I didn't get why have you used it @stefanbringuier |
Any updates, @stefanbringuier ? |
@Leticia-maria so the |
Hi! Great project! I have a question: do you use the simulation cell to generate the data file? I didn't what the utility of the simulation cell here.
The text was updated successfully, but these errors were encountered: