JuliaTopOpt / TopOpt.jl

A package for binary and continuous, single and multi-material, truss and continuum, 2D and 3D topology optimization on unstructured meshes using automatic differentiation in Julia.
https://juliatopopt.github.io/TopOpt.jl/
Other
181 stars 30 forks source link

using type TrussFEACrossSec{Float64} with TrussSolver #156

Open pitipatw opened 1 year ago

pitipatw commented 1 year ago

From my inspection, the type TrussFEACrossSec{Float64} is only used the generate the problem. But it's not usable in any other format? i.e. You can't do add (+) or subtract it with numbers TrussFEACrossSec{Float64}(1.0)+ 1 gives an error

I want to use it with TrussSolver(solver)(<input a vector of areas>