Closed gustavojra closed 2 years ago
Merging #25 (5272c74) into main (6e32b19) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #25 +/- ##
=======================================
Coverage 90.69% 90.69%
=======================================
Files 16 16
Lines 1332 1333 +1
=======================================
+ Hits 1208 1209 +1
Misses 124 124
Impacted Files | Coverage Δ | |
---|---|---|
src/Molecules.jl | 100.00% <100.00%> (ø) |
|
src/Parse.jl | 95.91% <100.00%> (ø) |
|
src/Properties.jl | 100.00% <100.00%> (ø) |
|
src/Symmetry/flowchart.jl | 86.07% <100.00%> (ø) |
|
src/Symmetry/sea.jl | 98.00% <100.00%> (ø) |
|
src/Symmetry/symmetry_finding.jl | 90.55% <100.00%> (ø) |
|
src/Transformations.jl | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6e32b19...5272c74. Read the comment docs.
Atom
andMolecule
structures modified for an improved type stability/inference. Consequently, previous lines withVector{Atom}
were modified toVector{<:Atom}
.I also inserted
StaticArrays
into the code. The coordinates of an atom now are specified using anSVector{3, T}
, from my previous testing, I know this speeds up integral computations inGaussianBasis
. For consistency, I also defaulted the transformation matrices to beSMatrix{3,3}
.A side effect of using
SVector
for coordinates is that thexyz
field is immutable. e.g.is broken.
Thus, I had to modify the
translate
andtransform
functions. I created a new dispatch that acts on anAtom
returning a new one. So when you calltranslate!
ortransform!
on aVector{Atom}
it loops through the array and replace each atom with a new one.Part of this PR is to address an issue raised on
Fermi
.