Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
initial refactoring
Browse files Browse the repository at this point in the history
1. rm Emitter2.jl
2. split Emitters.jl into separate submodule files
3. mv Emitters.Visualization -> Vis
4. rm hacky root-level include("Emitters.jl")
5. fix incorrect import statements
  • Loading branch information
alfredclwong committed Apr 7, 2021
1 parent 88a22f5 commit abdd925
Show file tree
Hide file tree
Showing 14 changed files with 1,065 additions and 1,387 deletions.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# SOFTWARE

using Documenter
using OpticSim, OpticSim.Geometry, OpticSim.Emitters
using OpticSim

makedocs(
sitename = "OpticSim.jl",
Expand Down
7 changes: 1 addition & 6 deletions src/OpticSim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ include("constants.jl")
include("utilities.jl")
include("Geometry/Geometry.jl")
include("Optical/Optical.jl")
include("Visualization/Visualization.jl")

# TODO: RG: the following include is seperated from the Optical include due to the new approach of putting the visualazation
# part with the logic. We need to come up with a better approch to how and where visualization code should reside.
include("Optical/Emitters.jl") # defines the Emitters module

include("Vis/Vis.jl")
include("Examples/Examples.jl")
include("Optimization/Optimization.jl")

Expand Down
282 changes: 0 additions & 282 deletions src/Optical/Emitter2.jl

This file was deleted.

Loading

0 comments on commit abdd925

Please sign in to comment.