Skip to content
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

Performance fix + Extend tests (comparison to analytic solutions) #46

Merged
merged 14 commits into from
May 16, 2020
Merged

Performance fix + Extend tests (comparison to analytic solutions) #46

merged 14 commits into from
May 16, 2020

Conversation

lmh91
Copy link
Collaborator

@lmh91 lmh91 commented May 15, 2020

Replace the getproperty usage on a grid, e.g. grid.r by grid.axes[1] to avoid performance issues.

grid.r can still be used to get the r-axis of the grid but should not be used inside the package or in time critical code for now.

@codecov-io
Copy link

codecov-io commented May 16, 2020

Codecov Report

Merging #46 into master will decrease coverage by 1.30%.
The diff coverage is 39.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   45.93%   44.63%   -1.31%     
==========================================
  Files          70       72       +2     
  Lines        5621     5673      +52     
==========================================
- Hits         2582     2532      -50     
- Misses       3039     3141     +102     
Impacted Files Coverage Δ
src/ElectricField/plot_recipes.jl 0.00% <0.00%> (ø)
src/MCEventsProcessing/MCEventsProcessing.jl 0.00% <0.00%> (ø)
src/MCEventsProcessing/MCEventsProcessing_hdf5.jl 0.00% <ø> (ø)
src/SolidStateDetector/AbstractVirtualVolume.jl 0.00% <0.00%> (ø)
src/SolidStateDetector/TransitionLayer.jl 0.00% <0.00%> (ø)
src/Types/point_types.jl 3.67% <0.00%> (ø)
src/examples.jl 0.00% <ø> (ø)
src/Grids/Grids.jl 11.76% <14.28%> (-16.24%) ⬇️
src/Simulation/Simulation.jl 69.96% <25.00%> (-1.72%) ⬇️
src/SolidStateDetector/SolidStateDetector.jl 60.85% <33.33%> (-1.65%) ⬇️
... and 16 more

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 f1b784a...41dcfdc. Read the comment docs.

lmh91 added 2 commits May 16, 2020 15:08
It took too much time, since comparison to analytic solutions
were added and also included some detector simulations.
@lmh91 lmh91 merged commit 05633f2 into JuliaPhysics:master May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants