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
1 changed files with 5 additions and 0 deletions

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