@@ -13,7 +13,7 @@ This is a small package, spun out of [`ACE.jl`](https://github.com/ACEsuit/ACE.j
1313``` julia
1414using DecoratedParticles, StaticArrays, LinearAlgebra, Zygote
1515using DecoratedParticles: PState, VState
16- DP = DecoratedParticles
16+ import DecoratedParticles as DP
1717
1818x1 = PState ( 𝐫 = randn (SVector{3 , Float64}), z = 14 )
1919# 〖𝐫:[-0.74, -2.27, -0.83], z:14〗
@@ -57,17 +57,16 @@ p.𝐸 == DP.energy(p)
5757
5858### Prototype AtomsBase system implementations
5959
60+ AtomsBase system implementations are provided via a package extension.
6061Both AosSystem and SoaSystem are fully flexible regarding the
61- properties of the particles. Both DecoratedParticles implementations
62- have the same performance as ` FastSystem ` but both are fully flexibly
63- regarding the types of particles.
62+ properties of the particles but have the same performance as ` FastSystem ` .
6463
6564``` julia
66- using AtomsBuilder
65+ using AtomsBase, AtomsBuilder
6766sys = rattle! (bulk (:Si , cubic= true ) * 2 , 0.1 ); # AtomsBase.FlexibleSystem
6867fsys = FastSystem (sys); # AtomsBase.FastSystem
69- aos = DP. AosSystem (sys);
70- soa = DP. SoaSystem (sys);
68+ aos = DP. aos_system (sys);
69+ soa = DP. soa_system (sys);
7170
7271x1 = aos[1 ] # PState, just sys.particles[1]
7372x2 = soa[1 ] # PState, generated from the arrays in sys
0 commit comments