1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-24 02:00:30 +01:00

add functions to produce prepath, fullpath out of Settings

This commit is contained in:
kalmarek 2017-10-09 19:45:28 +02:00
parent 6070bbf709
commit 36a1151a73

View File

@ -15,6 +15,11 @@ immutable Settings
tol::Float64
end
prefix(s::Settings) = s.name
suffix(s::Settings) = "$(s.upper_bound)"
prepath(s::Settings) = prefix(s)
fullpath(s::Settings) = joinpath(prefix(s), suffix(s))
immutable OrbitData
name::String
Us::Vector