2d slices 3d concurrent diagram
%% Cell type:code id: tags: | ||
``` julia | ||
# Amira Abdel-Rahman | ||
# (c) Massachusetts Institute of Technology 2021 | ||
``` | ||
%% Cell type:code id: tags: | ||
``` julia | ||
AbstractPlotting.inline!(true) | ||
``` | ||
%% Output | ||
false | ||
%% Cell type:code id: tags: | ||
``` julia | ||
include("./julia/include/_topologyOptimization.jl") | ||
``` | ||
%% Output | ||
Loaded Topology Optimization Library! | ||
%% Cell type:markdown id: tags: | ||
# 3D MBB Slices Concurrent | ||
%% Cell type:code id: tags: | ||
``` julia | ||
Macro_struct = [1.0, 0.5, 0.2, 10, 5, 2, [0.5,0.5],1.5,0.1]; | ||
Micro_struct = [0.1, 0.1, 0.1, 50, 50, 50, 0.35,1.5,0.1]; | ||
penal = 3; | ||
saveItr=5; | ||
θ=6 | ||
maxloop=20 | ||
prob=wing1 | ||
# prob=inverter | ||
fabric=false | ||
mgcg=[false,false] | ||
voxels=1 | ||
Macro_xPhys1,Micro_xPhys1,DHs1,a1=SlicesCompliantMultiConTop3DU(θ,Macro_struct, Micro_struct,prob, penal,saveItr,maxloop,fabric); | ||
``` | ||
%% Output | ||
┌ Warning: Showing scene as text. This happens because `AbstractPlotting.inline!(true)` is set. | ||
│ This needs to be false to show a plot in a window when in the REPL. | ||
└ @ AbstractPlotting /Users/amiraabdel-rahman/.julia/packages/AbstractPlotting/ru2ib/src/display.jl:135 | ||
┌ Warning: Showing scene as text. This happens because `AbstractPlotting.inline!(true)` is set. | ||
│ This needs to be false to show a plot in a window when in the REPL. | ||
└ @ AbstractPlotting /Users/amiraabdel-rahman/.julia/packages/AbstractPlotting/ru2ib/src/display.jl:135 | ||
1 Obj:-0.0 Macro_Vol:0.5 Micro_Vol:[0.36, 0.36, 0.36, 0.36, 0.36, 0.36] Macro_ch:0.1 Micro_ch:[0.06, 0.06, 0.06, 0.06, 0.06, 0.06] | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: Viewport is not within the NDC unit square in routine SET_VIEWPORT | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
GKS: character ignored due to unicode error | ||
2 Obj:-0.0 Macro_Vol:0.5 Micro_Vol:[0.36, 0.35, 0.36, 0.36, 0.36, 0.36] Macro_ch:0.1 Micro_ch:[0.2, 0.2, 0.2, 0.2, 0.2, 0.2] | ||
3 Obj:-0.0 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.36, 0.35, 0.36, 0.36] Macro_ch:0.1 Micro_ch:[0.2, 0.2, 0.2, 0.2, 0.2, 0.2] | ||
4 Obj:-0.01 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.36] Macro_ch:0.1 Micro_ch:[0.2, 0.2, 0.2, 0.2, 0.2, 0.2] | ||
5 Obj:-0.01 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.1 Micro_ch:[0.2, 0.2, 0.2, 0.2, 0.2, 0.2] | ||
┌ Warning: Showing scene as text. This happens because `AbstractPlotting.inline!(true)` is set. | ||
│ This needs to be false to show a plot in a window when in the REPL. | ||
└ @ AbstractPlotting /Users/amiraabdel-rahman/.julia/packages/AbstractPlotting/ru2ib/src/display.jl:135 | ||
6 Obj:-0.02 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.1 Micro_ch:[0.2, 0.2, 0.2, 0.2, 0.2, 0.2] | ||
7 Obj:-0.02 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.09 Micro_ch:[0.2, 0.2, 0.2, 0.2, 0.2, 0.2] | ||
8 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.07 Micro_ch:[0.2, 0.17, 0.2, 0.19, 0.2, 0.2] | ||
9 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.07 Micro_ch:[0.2, 0.14, 0.2, 0.16, 0.2, 0.2] | ||
10 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.08 Micro_ch:[0.14, 0.11, 0.2, 0.14, 0.17, 0.2] | ||
┌ Warning: Showing scene as text. This happens because `AbstractPlotting.inline!(true)` is set. | ||
│ This needs to be false to show a plot in a window when in the REPL. | ||
└ @ AbstractPlotting /Users/amiraabdel-rahman/.julia/packages/AbstractPlotting/ru2ib/src/display.jl:135 | ||
11 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.08 Micro_ch:[0.15, 0.09, 0.13, 0.16, 0.15, 0.2] | ||
12 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.08 Micro_ch:[0.16, 0.06, 0.13, 0.17, 0.13, 0.2] | ||
13 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.06 Micro_ch:[0.2, 0.06, 0.12, 0.13, 0.11, 0.2] | ||
14 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.06 Micro_ch:[0.12, 0.05, 0.13, 0.07, 0.1, 0.19] | ||
15 Obj:-0.03 Macro_Vol:0.5 Micro_Vol:[0.35, 0.35, 0.35, 0.35, 0.35, 0.35] Macro_ch:0.06 Micro_ch:[0.13, 0.05, 0.12, 0.05, 0.08, 0.15] | ||
┌ Warning: Showing scene as text. This happens because `AbstractPlotting.inline!(true)` is set. | ||
│ This needs to be false to show a plot in a window when in the REPL. | ||
└ @ AbstractPlotting /Users/amiraabdel-rahman/.julia/packages/AbstractPlotting/ru2ib/src/display.jl:135 | ||
InterruptException: | ||
Stacktrace: | ||
[1] allocate_dense at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/SuiteSparse/src/cholmod.jl:414 [inlined] | ||
[2] SuiteSparse.CHOLMOD.Dense{Float64}(::Array{Float64,2}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/SuiteSparse/src/cholmod.jl:810 | ||
[3] \(::SuiteSparse.CHOLMOD.Factor{Float64}, ::Array{Float64,2}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/SuiteSparse/src/cholmod.jl:1710 | ||
[4] \(::Hermitian{Float64,SparseMatrixCSC{Float64,Int64}}, ::Array{Float64,2}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/SuiteSparse/src/cholmod.jl:1740 | ||
[5] \(::SparseMatrixCSC{Float64,Int64}, ::Array{Float64,2}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/SparseArrays/src/linalg.jl:1474 | ||
[6] EBHM3D(::Array{Float64,3}, ::Float64, ::Float64, ::Float64, ::Int64, ::Float64, ::Float64, ::Int64, ::Bool) at /Users/amiraabdel-rahman/Dropbox (MIT)/CBA/MetaVoxels/metavoxels-code/voxel_designer/julia/include/element.jl:395 | ||
[7] SlicesCompliantMultiConTop3DU(::Int64, ::Array{Any,1}, ::Array{Float64,1}, ::typeof(wing1), ::Int64, ::Int64, ::Int64, ::Bool, ::Array{Bool,1}, ::Bool) at /Users/amiraabdel-rahman/Dropbox (MIT)/CBA/MetaVoxels/metavoxels-code/voxel_designer/julia/include/concurrent3D.jl:1549 | ||
[8] SlicesCompliantMultiConTop3DU(::Int64, ::Array{Any,1}, ::Array{Float64,1}, ::Function, ::Int64, ::Int64, ::Int64, ::Bool) at /Users/amiraabdel-rahman/Dropbox (MIT)/CBA/MetaVoxels/metavoxels-code/voxel_designer/julia/include/concurrent3D.jl:1369 | ||
[9] top-level scope at In[252]:14 | ||
[10] include_string(::Function, ::Module, ::String, ::String) at ./loading.jl:1091 | ||
%% Cell type:code id: tags: | ||
``` julia | ||
Macro_struct = [1.0, 0.6, 0.4, 10, 6, 4, [0.5,0.5],1.5,0.2]; | ||
Micro_struct = [0.1, 0.1, 0.1, 50, 50, 50, 0.35,2,0.1]; | ||
penal = 3; | ||
saveItr=5; | ||
θ=6 | ||
maxloop=20 | ||
prob=Canteliver3D | ||
fabric=false | ||
mgcg=[false,false] | ||
voxels=1 | ||
Macro_xPhys2,Micro_xPhys2,DHs2,a2=SlicesMultiConTop3DU(θ,Macro_struct, Micro_struct,prob, penal,saveItr,maxloop,fabric); | ||
``` | ||
%% Output | ||
┌ Warning: Showing scene as text. This happens because `AbstractPlotting.inline!(true)` is set. | ||
│ This needs to be false to show a plot in a window when in the REPL. | ||
└ @ AbstractPlotting /Users/amiraabdel-rahman/.julia/packages/AbstractPlotting/ru2ib/src/display.jl:135 | ||
┌ Warning: Showing scene as text. This happens because `AbstractPlotting.inline!(true)` is set. | ||
│ This needs to be false to show a plot in a window when in the REPL. | ||
└ @ AbstractPlotting /Users/amiraabdel-rahman/.julia/packages/AbstractPlotting/ru2ib/src/display.jl:135 | ||