ASE.ASEAtoms
— Typetype ASEAtoms <: AbstractAtoms
Julia wrapper for the ASE Atoms
class.
### Constructors:
ASEAtoms(po::PyObject) # from a given ASE object
ASEAtoms(s::AbstractString) # e.g., "Si2" for a Si cluster containing 2 atoms
ASEAtoms(at::Atoms) # from a JuLIP Atoms object
ASE.ASECalculator
— TypeConcrete subtype of ASECalculator for classical potentials
ASE.AbstractASECalculator
— Typeabstract type for all calculators that interface to ASE
ASE.extend!
— Methodextend!(at::ASEAtoms, atadd::ASEAtoms)::ASEAtoms
extend!(at::ASEAtoms, S::AbstractString, x::JVecF)::ASEAtoms
add atadd
atoms to at
and returns at
; only at
is modified.
A short variant is
# extend!(at, (s, x)) <<<< deprecated
extend!(at, s, x)
where s
is a string, x::JVecF
a position
ASE.set_velocities!
— Methodconvert to momenta, then set the momenta array
ASE.velocities
— Methodget the velocities array (convert from momenta)
ASE.write_xyz
— Functionwrite_xyz(filename, at, mode=:write)
: write atoms object tofilename
write_xyz(filehandle, at)
: write atoms object as xyz filewrite_xyz(filename, ats::Vector{ASEAtoms}, mode=:write)
: write a time series to a filewrite_xyz(filename, at, x::Vector{Dofs}, mode=:write)
: write a time series to a file
to append to an existing file, use :append
or "a"
instead of :write
.
JuLIP.atomic_numbers
— Methodreturn vector of atomic numbers
JuLIP.chemical_symbols
— Methodreturn vector of chemical symbols as strings
JuLIP.masses
— Methodget Vector of atom masses
JuLIP.momenta
— Methodget the momenta array
JuLIP.set_momenta!
— Methodset the momenta array
ASE.set_chemical_symbols!
— Methodset the chemical symbols
JuLIP.set_masses!
— Methodset atom mass array as Vector{Float64}