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

StressTruss missing "getdim" #146

Closed pitipatw closed 1 year ago

pitipatw commented 1 year ago

on truss_stress.jl line 20 dim = getdim(problem)

It says getdim is not defined.

If I change this to 3 (3D?) it works fine, but not entirely sure where does getdim defined.

mohamed82008 commented 1 year ago

This has been fixed.