topopt 0.1.6

Topology optimization in pure Rust, based on 99 lines of MATLAB
Documentation
1
2
3
4
5
6
7
8
fn main() {
    let settings = topopt::Settings::new(120, 20, 0.5)
        .with_bottom_right_bc(false, true)
        .with_bottom_left_bc(true, true)
        .with_top_middle_load(0.0, -1.0);

    topopt::solve(settings);
}