Home
last modified time | relevance | path

Searched refs:bin_mat (Results 1 – 6 of 6) sorted by relevance

/dports/science/chrono/chrono-7.0.1/src/demos/irrlicht/
H A Ddemo_IRR_friction.cpp121 auto bin_mat = chrono_types::make_shared<ChMaterialSurfaceNSC>(); in main() local
122 bin_mat->SetRollingFriction(1); in main()
123 bin_mat->SetSpinningFriction(1); in main()
127 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(20, 1, 20) / 2.0, ChVector<>(0, 0, 0)); in main()
128 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(-10, 1, 0)); in main()
129 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(10, 1, 0)); in main()
130 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 1, -10)); in main()
131 utils::AddBoxGeometry(bin.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 1, 10)); in main()
/dports/science/chrono/chrono-7.0.1/src/demos/multicore/
H A Ddemo_MCORE_friction.cpp82 auto bin_mat = chrono_types::make_shared<ChMaterialSurfaceNSC>(); in main() local
83 bin_mat->SetFriction(0.6f); in main()
84 bin_mat->SetRollingFriction(1); in main()
85 bin_mat->SetSpinningFriction(1); in main()
88 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(20, 1, 20) / 2.0, ChVector<>(0, -1, 0)); in main()
89 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(-10, 0, … in main()
90 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(1, 2, 20.99) / 2.0, ChVector<>(10, 0, 0… in main()
91 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 0, -1… in main()
92 …utils::AddBoxGeometry(container.get(), bin_mat, ChVector<>(20.99, 2, 1) / 2.0, ChVector<>(0, 0, 10… in main()
/dports/science/chrono/chrono-7.0.1/src/demos/python/irrlicht/
H A Ddemo_IRR_friction.py96 bin_mat = chrono.ChMaterialSurfaceNSC() variable
97 bin_mat.SetRollingFriction(1)
98 bin_mat.SetSpinningFriction(1)
102 bin.GetCollisionModel().AddBox(bin_mat, 20. / 2., 1. / 2., 20. / 2., chrono.ChVectorD(0, 0, 0))
103 bin.GetCollisionModel().AddBox(bin_mat, 1. / 2., 2. / 2., 20.99/2., chrono.ChVectorD(-10, 1, 0))
104 bin.GetCollisionModel().AddBox(bin_mat, 1. / 2., 2. / 2., 20.99/2., chrono.ChVectorD( 10, 1, 0))
105 bin.GetCollisionModel().AddBox(bin_mat, 20.99/2., 2. / 2., 1. / 2., chrono.ChVectorD(0, 1, -10))
106 bin.GetCollisionModel().AddBox(bin_mat, 20.99/2., 2. / 2., 1. / 2., chrono.ChVectorD(0, 1, 10))
/dports/math/octave-forge-communications/communications-1.2.3/doc/
H A Dcomms.txi634 octave:3> bin_mat = reshape (bin_vec, k, 10)'; # Binary matrix format
635 octave:4> dec_vec = bi2de (bin_mat); # Decimal vector format
H A Dcomms.info526 octave:3> bin_mat = reshape (bin_vec, k, 10)'; # Binary matrix format
527 octave:4> dec_vec = bi2de (bin_mat); # Decimal vector format
H A Dcomms.texi634 octave:3> bin_mat = reshape (bin_vec, k, 10)'; # Binary matrix format
635 octave:4> dec_vec = bi2de (bin_mat); # Decimal vector format