init_data returns, Group, S and the laplacian
This commit is contained in:
parent
95b06ccaf5
commit
eee9b3b767
15
Orb_AutFN.jl
15
Orb_AutFN.jl
@ -206,19 +206,21 @@ end
|
||||
|
||||
function init_data(name::String, N::Int, logger; radius=2)
|
||||
|
||||
ex(fname) = isfile(joinpath(name, fname))
|
||||
|
||||
conditions = ex.(["delta.jld", "pm.jld", "U_pis.jld", "orbits.jld"])
|
||||
if !all(conditions)
|
||||
SOutFN = AutGroup(FreeGroup(N), special=true, outer=true)
|
||||
info(logger, SOutFN)
|
||||
S = generators(SOutFN);
|
||||
S = [S; [inv(s) for s in S]]
|
||||
info(logger, "Symmetric generating set of size $(length(S))")
|
||||
info(logger, S)
|
||||
|
||||
ex(fname) = isfile(joinpath(name, fname))
|
||||
|
||||
conditions = ex.(["delta.jld", "pm.jld", "U_pis.jld", "orbits.jld"])
|
||||
if !all(conditions)
|
||||
compute_orbit_data(logger, name, SOutFN, S, radius=radius)
|
||||
end
|
||||
return 0
|
||||
|
||||
return SOutFN, S, PropertyT.ΔandSDPconstraints(name, SOutFN)[1]
|
||||
end
|
||||
|
||||
function main()
|
||||
@ -239,8 +241,7 @@ function main()
|
||||
Blas.set_num_threads(parsed_args["cpus"])
|
||||
end
|
||||
|
||||
|
||||
init_data(dirname, N, logger, radius=radius)
|
||||
G, S, Δ = init_data(dirname, N, logger, radius=radius)
|
||||
|
||||
tol = parsed_args["tol"]
|
||||
iterations = parsed_args["iterations"]
|
||||
|
Loading…
Reference in New Issue
Block a user