Skip to content

Commit c3af3ed

Browse files
restructure type tree
1 parent d046727 commit c3af3ed

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

Project.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name = "DistributionFunctions"
22
uuid = "c869f47d-2815-40f9-b874-25ebe83f43af"
3-
version = "0.0.7dev"
3+
version = "0.0.8dev"
44

55
[deps]
66
OrbitalElements = "a3b07092-bde3-4843-b84f-c597d614ec7b"
77
HypergeometricFunctions = "34004b35-14d8-5ef3-9330-4cdb6864b03a"
88
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
99

1010
[compat]
11-
julia = "1.6.7" # Equivalent to "^1.6.7", will allow any 1.a.b version with a.b>=6.7
11+
julia = "1.6.7"
12+
OrbitalElements "2"
1213

1314
[extras]
1415
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/Analytic/Isochrone/isochrone.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#####################################
22
# Isochrone distribution functions (analytic)
33
#####################################
4-
abstract type IsochroneDistributionFunction <: DistributionFunction end
4+
abstract type IsochroneDistributionFunction <: SphericalDistributionFunction end
55
struct IsotropicIsochrone{modelT<:IsochronePotential} <: IsochroneDistributionFunction
66
potential::modelT # Potential model
77
end

src/Generic/DFs.jl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ Abstract type for distribution functions
66
"""
77
abstract type DistributionFunction end
88

9+
"""
10+
Geometries
11+
"""
12+
abstract type SphericalDistributionFunction <: DistributionFunction end
13+
abstract type RazorThinDiscDistributionFunction <: DistributionFunction end
14+
15+
"""
16+
Defining Coordinates
17+
"""
18+
abstract type EnergyOnlyDistributionFunction <: SphericalDistributionFunction end
19+
abstract type SphericalEnergyAngularMomentumDistributionFunction <: SphericalDistributionFunction end
20+
abstract type SphericalActionDistributionFunction <: SphericalDistributionFunction end
21+
22+
abstract type DiscEnergyAngularMomentumDistributionFunction <: RazorThinDiscDistributionFunction end
23+
abstract type DiscActionDistributionFunction <: RazorThinDiscDistributionFunction end
24+
925
#####################################
1026
# Generic functions
1127
#####################################

0 commit comments

Comments
 (0)